transfer from private server/git server

This commit is contained in:
M1n-0
2026-08-21 09:12:02 +02:00
parent 45c8982178
commit 6ecb014238
75 changed files with 4344 additions and 274 deletions

22
web/.env.example Normal file
View File

@@ -0,0 +1,22 @@
# Copier ce fichier en .env et renseigner les vraies valeurs.
# .env est exclu de Git (voir .gitignore) — mitigation du risque
# "fuite du CLIENT_SECRET OIDC" (tableau OWASP du dossier technique).
SECRET_KEY=change-me-with-a-random-value
FLASK_ENV=production
FLASK_DEBUG=false
# Pseudonymisation RGPD (droit à l'effacement) — voir routes/rgpd.py.
# Si laissé vide, SECRET_KEY est utilisé comme pepper.
RGPD_ANON_PEPPER=change-me-with-another-random-value
DB_HOST=mariadb
DB_PORT=3306
DB_USER=flaskuser
DB_PASSWORD=change-me
DB_NAME=gesthub
OIDC_CLIENT_ID=flask-app
OIDC_CLIENT_SECRET=change-me
OIDC_ISSUER=https://keycloak.ninolbt.com/realms/gesthub
PUBLIC_BASE_URL=https://dashboard.ninolbt.com