forked from yvv/decision
- ADR 0008 : bulletin scellé (ld1: + blake2b-256, sel de 128 bits), la transaction utility.batchAll (virement + remarque), la confirmation sur l'indexeur, le dernier fait foi dans l'ordre de la chaîne, groupes gérés, ce que voit la chaîne, ce que sait le serveur, réglages LD_VOTE_*, coût et limites. Noté dans 0006. - CHANTIER : le vote déplié, le panier, « une personne, une voix » par la chaîne ; le droit de vote se vérifie au moment de la confirmation sur la chaîne. - CONTROLES : C4, C5, C6, C11, C17, C19, C20, M1 mis à jour ; C21–C24 ; passage du lot B, 25 / 25 verts. - CLAUDE.md : ballots.rs, indexer.rs, ballot/address du moteur, wallet/, panier, chaîne simulée des e2e. Compose : où poser LD_VOTE_ACCOUNT (en commentaire). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
41 lines
1.5 KiB
YAML
41 lines
1.5 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
|
|
# The vote through the Ğ1 chain (ADR 0008): LD_VOTE_ACCOUNT, the Ğ1 address of the vote
|
|
# account, once Yvv has created it (LD_VOTE_AMOUNT in cents, 10 by default). Without it,
|
|
# the vote through the chain is off and the interface says so; managed groups vote as before.
|
|
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
|