Files
CollectFlow/docker-compose.yml
T

25 lines
646 B
YAML

version: "3.8"
services:
web:
build:
context: .
dockerfile: Dockerfile
ports:
- "5643:5643"
environment:
- NODE_ENV=production
- AUTH_TRUST_HOST=true
- AUTH_SECRET=my-super-secret-key-that-should-be-changed-in-production
- DATABASE_URL=postgres://postgres:MOT_DE_PASSE_ICI@postgresbase:5432/collectflow
# Mais comme CollectFlow permet de le configurer depuis l'interface (settings), ce n'est pas strictement obligatoire au lancement.
volumes:
- ./data:/app/data
restart: unless-stopped
networks:
- nginx_default
networks:
nginx_default:
external: true