Documentation Produit
Retour configurationConfiguration ENV
Variables d'environnement et hardening.
Derniere mise a jour: 2026-04-05 11:13
Environment Configuration
Copy .env.example to .env and set:
DATABASE_URL: SQLAlchemy DSN for PostgreSQLCELERY_BROKER_URL: Redis broker DBCELERY_RESULT_BACKEND: Redis result DBSIRENE_API_KEY: optional, enables live INSEE callsSEARXNG_URL: internal SearXNG endpointLLM_PROVIDER:stubor external provider modeLLM_MODEL: target model idOPENAI_API_KEY/ANTHROPIC_API_KEY: optional if provider needs itCSV_EXPORT_DIR: output path for Odoo exportsSECRET_KEY: JWT signing secret
Recommended production hardening:
- rotate
SECRET_KEY - set network ACLs around API
- run behind reverse proxy with TLS
- enable backups for DB and exports directory