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