bfile/docker-compose.prod.yml

43 lines
994 B
YAML
Raw Permalink Normal View History

2023-10-22 07:37:46 +02:00
version: '3.7'
services:
filed:
build:
2023-10-31 15:46:54 +01:00
context: .
dockerfile: filed/Dockerfile.prod
2023-10-22 07:37:46 +02:00
networks:
bfile:
volumes:
2023-10-22 16:03:02 +02:00
- './filed:/config:ro'
- './filed/config:/etc/filed:ro'
2023-10-22 07:37:46 +02:00
- './volatile/files:/opt/user_uploads'
janitord:
build:
context: janitor
dockerfile: Dockerfile.prod
networks:
bfile:
volumes:
2023-10-22 16:03:02 +02:00
- './janitor:/config:ro'
2023-10-22 07:37:46 +02:00
- './volatile/files:/opt/user_uploads'
caddy:
image: caddy:alpine
volumes:
- './conf/caddy:/etc/caddy:ro'
ports:
- 80:80
networks:
bfile:
redis:
image: redis:alpine
networks:
bfile:
command: [ 'redis-server', '--requirepass', '$REDIS_PASS' ]
ports:
- 6379:6379
qr:
image: blekii/miniqr
networks:
bfile:
networks:
bfile: