Updating dev docker-compose.

This commit is contained in:
Dessalines 2020-08-31 13:39:01 -05:00
parent ad7dfb0181
commit 34e539cdc0
2 changed files with 6 additions and 5 deletions

View File

@ -7,7 +7,7 @@ services:
context: ../../ context: ../../
dockerfile: docker/dev/Dockerfile dockerfile: docker/dev/Dockerfile
ports: ports:
- "127.0.0.1:8536:8536" - "8536:8536"
restart: always restart: always
environment: environment:
- RUST_LOG=debug - RUST_LOG=debug
@ -22,7 +22,7 @@ services:
image: postgres:12-alpine image: postgres:12-alpine
ports: ports:
# use a different port so it doesnt conflict with postgres running on the host # use a different port so it doesnt conflict with postgres running on the host
- "127.0.0.1:5433:5432" - "5433:5432"
environment: environment:
- POSTGRES_USER=lemmy - POSTGRES_USER=lemmy
- POSTGRES_PASSWORD=password - POSTGRES_PASSWORD=password
@ -34,7 +34,7 @@ services:
pictrs: pictrs:
image: asonix/pictrs:v0.1.13-r0 image: asonix/pictrs:v0.1.13-r0
ports: ports:
- "127.0.0.1:8537:8080" - "8537:8080"
user: 991:991 user: 991:991
volumes: volumes:
- ./volumes/pictrs:/mnt - ./volumes/pictrs:/mnt
@ -43,7 +43,7 @@ services:
iframely: iframely:
image: dogbin/iframely:latest image: dogbin/iframely:latest
ports: ports:
- "127.0.0.1:8061:80" - "8061:80"
volumes: volumes:
- ../iframely.config.local.js:/iframely/config.local.js:ro - ../iframely.config.local.js:/iframely/config.local.js:ro
restart: always restart: always

View File

@ -3,4 +3,5 @@ set -e
export COMPOSE_DOCKER_CLI_BUILD=1 export COMPOSE_DOCKER_CLI_BUILD=1
export DOCKER_BUILDKIT=1 export DOCKER_BUILDKIT=1
docker-compose up -d --no-deps --build sudo chown -R 991:991 volumes/pictrs
sudo docker-compose up -d --no-deps --build