50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
version: '2.2'
|
|
services:
|
|
firefish:
|
|
build: custom/firefish
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- firefish-db
|
|
- firefish-redis
|
|
- firefish-sonic
|
|
env_file:
|
|
- /etc/ixvd/secrets/env/firefish.env
|
|
environment:
|
|
NODE_ENV: production
|
|
SONIC_HOST: firefish-sonic
|
|
SONIC_SECRET: "firefish"
|
|
volumes:
|
|
- /srv/firefish/data:/firefish/files
|
|
networks:
|
|
- proxy
|
|
- internal
|
|
- calcnet
|
|
|
|
firefish-redis:
|
|
image: docker.io/redis:7.0-alpine
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /srv/firefish/other/redis:/data
|
|
networks:
|
|
- calcnet
|
|
|
|
firefish-sonic:
|
|
build: custom/sonic
|
|
environment:
|
|
SONIC_SECRET: "firefish"
|
|
volumes:
|
|
- /srv/firefish/other/sonic:/var/lib/sonic/store/
|
|
networks:
|
|
- calcnet
|
|
|
|
firefish-db:
|
|
image: docker.io/postgres:12.2-alpine
|
|
restart: unless-stopped
|
|
env_file:
|
|
- /etc/ixvd/secrets/env/firefish.env
|
|
volumes:
|
|
- /srv/firefish/other/db:/var/lib/postgresql/data
|
|
networks:
|
|
- calcnet
|
|
networks:
|
|
calcnet: null
|