25 lines
935 B
Bash
25 lines
935 B
Bash
APP_ENV=local
|
|
APP_DEBUG=false
|
|
APP_LOG_LEVEL=INFO
|
|
|
|
# L'API refuse de démarrer tant que cette valeur reste un exemple ou fait moins de
|
|
# 32 caractères. Générer la vôtre : python -c "import secrets; print(secrets.token_urlsafe(48))"
|
|
APP_SECRET_KEY=change_me
|
|
|
|
APP_CORS_ORIGINS=http://localhost:4200
|
|
DATABASE_URL=postgresql+asyncpg://enervision:change_me@localhost:5433/enervision
|
|
|
|
# Mot de passe oublié : lien à usage unique valable 15 minutes par défaut.
|
|
APP_FRONTEND_RESET_PASSWORD_URL=http://localhost:4200/reset-password
|
|
|
|
# SMTP local de dev (Mailpit, cf. docker-compose.yml) : aucune authentification, aucun TLS.
|
|
# À remplacer par un vrai relais en staging/prod.
|
|
APP_SMTP_HOST=localhost
|
|
APP_SMTP_PORT=1025
|
|
APP_SMTP_USE_TLS=false
|
|
APP_SMTP_FROM_ADDRESS=no-reply@enervision.fr
|
|
APP_MOCK_API_BASE_URL=https://api-mock.charlieandre.fr
|
|
APP_MOCK_API_USERNAME=change_me
|
|
APP_MOCK_API_PASSWORD=change_me
|
|
APP_MOCK_API_TIMEOUT_SECONDS=10
|