mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-12 01:36:43 +02:00
31 lines
761 B
YAML
31 lines
761 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
|
|
- FF_API_BASE_URL=https://api.ffnancy.fr
|
|
|
|
# Mais comme CollectFlow permet de le configurer depuis l'interface (settings), ce n'est pas strictement obligatoire au lancement.
|
|
volumes:
|
|
- collectflow-data:/app/data
|
|
restart: unless-stopped
|
|
networks:
|
|
- nginx_default
|
|
|
|
volumes:
|
|
collectflow-data:
|
|
name: collectflow-data
|
|
|
|
networks:
|
|
nginx_default:
|
|
external: true
|