neb/servers/kid/docker-compose.d/docker-compose.firefish.yml

54 lines
1.2 KiB
YAML
Raw Normal View History

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
VIRTUAL_HOST: fedi.ixvd.net
LETSENCRYPT_HOST: fedi.ixvd.net
VIRTUAL_PORT: 3000
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