mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-13 18:27:40 +02:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LG2LLJuswrrTTPKJmunEVf
32 lines
997 B
YAML
32 lines
997 B
YAML
services:
|
|
web:
|
|
# Image publiée par GitHub Actions à chaque mise à jour de main.
|
|
# `pull_policy: always` : chaque `docker compose up -d` récupère la
|
|
# dernière version avant de (re)démarrer le conteneur.
|
|
image: ghcr.io/r0m1k3/collectflow:latest
|
|
pull_policy: always
|
|
# Construction locale possible : `docker compose build` (utilise le Dockerfile).
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "5643:5643"
|
|
environment:
|
|
- 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
|
|
# La base, Qlik et l'API FF se règlent aussi depuis l'interface (Paramètres).
|
|
volumes:
|
|
- collectflow-data:/app/data
|
|
restart: unless-stopped
|
|
networks:
|
|
- nginx_default
|
|
|
|
volumes:
|
|
collectflow-data:
|
|
name: collectflow-data
|
|
|
|
networks:
|
|
nginx_default:
|
|
external: true
|