Plateforme de decisions collectives pour Duniter/G1. Backend FastAPI async + PostgreSQL (14 tables, 8 routers, 6 services, moteur de vote avec formule d'inertie WoT/Smith/TechComm). Frontend Nuxt 4 + Nuxt UI v3 + Pinia (9 pages, 5 stores). Infrastructure Docker + Woodpecker CI + Traefik. Documentation technique et utilisateur (15 fichiers). Seed : Licence G1, Engagement Forgeron v2.0.0, 4 protocoles de vote. 30 tests unitaires (formules, mode params, vote nuance) -- tous verts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
38 lines
665 B
YAML
38 lines
665 B
YAML
version: "3.9"
|
|
|
|
# Dev overrides -- usage:
|
|
# docker compose -f docker/docker-compose.yml -f docker/docker-compose.dev.yml up
|
|
|
|
services:
|
|
postgres:
|
|
ports:
|
|
- "5432:5432"
|
|
|
|
backend:
|
|
build:
|
|
target: development
|
|
volumes:
|
|
- ../backend:/app
|
|
ports:
|
|
- "8002:8002"
|
|
environment:
|
|
DEBUG: "true"
|
|
CORS_ORIGINS: '["http://localhost:3002"]'
|
|
labels: []
|
|
|
|
frontend:
|
|
build:
|
|
target: development
|
|
volumes:
|
|
- ../frontend:/app
|
|
ports:
|
|
- "3002:3002"
|
|
environment:
|
|
NUXT_PUBLIC_API_BASE: http://localhost:8002/api/v1
|
|
labels: []
|
|
|
|
ipfs:
|
|
ports:
|
|
- "5001:5001"
|
|
- "8080:8080"
|