Files
decision/docker/app-compose.yml
YvvandClaude Opus 5.5 850f9c46b0 v3 : publication sur yvv/decision-depot-textes-reference
Le dépôt des textes créé par Yvv sur git.open.us.org (2026-10-21) :
séparé du code, pour que la clé du serveur n'écrive jamais dans
yvv/decision et que le dépôt se transfère d'un bloc à l'ouverture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 21:17:11 +02:00

38 lines
1.2 KiB
YAML

# libreDecision v3 on sonic — decision.librodrome.org.
# Runtime data lives in the named volume `data` (SQLite, the server's clone of
# the texts repository, its deploy key): never `down -v`, never recreated.
# Settings that are not secret are here; secrets, if any, in /opt/libredecision-app/secrets.env.
name: lpk-libredecision-app
services:
app:
image: libredecision-app:latest
container_name: lpk-libredecision-app
restart: always
env_file:
- path: /opt/libredecision-app/secrets.env
required: false
environment:
LD_PUBLIC_URL: https://${APP_DOMAIN:-decision.librodrome.org}
LD_ADMIN_G1_IDS: ${LD_ADMIN_G1_IDS:-idty:8352}
LD_BOOTSTRAP_ADMIN: "1"
LD_PUBLISH_REMOTE: ${LD_PUBLISH_REMOTE:-gitea@git.open.us.org:yvv/decision-depot-textes-reference.git}
LD_PUBLISH_BRANCH: main
RUST_LOG: info,sqlx=warn,tower_http=warn
volumes:
- data:/data
labels:
# Registrator → Consul → Fabio.
- SERVICE_8002_NAME=lpk-libredecision-app-8002
- SERVICE_8002_TAGS=urlprefix-${APP_DOMAIN:-decision.librodrome.org}/*
- SERVICE_8002_CHECK_TCP=true
networks:
- sonic
volumes:
data:
networks:
sonic:
external: true