56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
version: '3.7'
|
|
services:
|
|
filed:
|
|
build:
|
|
context: containers
|
|
dockerfile: rust-dev.Dockerfile
|
|
networks:
|
|
bfile:
|
|
volumes:
|
|
- './.git:/opt/code/.git'
|
|
- './filed:/opt/code'
|
|
- './filed/config:/etc/filed'
|
|
- '/opt/code/target'
|
|
- './volatile/files:/opt/user_uploads'
|
|
janitord:
|
|
build:
|
|
context: containers
|
|
dockerfile: rust-dev.Dockerfile
|
|
networks:
|
|
bfile:
|
|
volumes:
|
|
- './janitor:/opt/code'
|
|
- './volatile/files:/opt/user_uploads'
|
|
resourced:
|
|
build:
|
|
context: containers
|
|
dockerfile: go-dev.Dockerfile
|
|
networks:
|
|
bfile:
|
|
volumes:
|
|
- './resource:/opt/code'
|
|
- '/opt/code/tmp'
|
|
caddy:
|
|
image: caddy:alpine
|
|
volumes:
|
|
- './conf/caddy:/etc/caddy:ro'
|
|
ports:
|
|
- 80:80
|
|
networks:
|
|
bfile:
|
|
aliases:
|
|
- caddy
|
|
redis:
|
|
image: redis:alpine
|
|
networks:
|
|
bfile:
|
|
command: [ 'redis-server', '--requirepass', '$REDIS_PASS' ]
|
|
ports:
|
|
- 6379:6379
|
|
qr:
|
|
image: blekii/miniqr
|
|
networks:
|
|
bfile:
|
|
|
|
networks:
|
|
bfile: |