# 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/libredecision-textes.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