Lit la configuration SMTP depuis SMTP_* et FROM_EMAIL
Build and release / docker (push) Failing after 7s
Build and release / docker (push) Failing after 7s
Aligne les réglages sur les variables fournies par le Secret Kubernetes (SMTP_HOST, SMTP_PORT, SMTP_USE_TLS, SMTP_USERNAME, SMTP_PASSWORD, FROM_EMAIL) ; sans SMTP_HOST, les e-mails s'affichent dans la console. Met à jour .env.example et docker-compose.yml. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e196c92590
commit
73e67b9fde
3 files changed
+25
-5
No files matched your search
+7
-2
@@ -5,8 +5,13 @@ ALLOWED_HOSTS=localhost,127.0.0.1
|
||||
# Origine du serveur Vite (front en développement)
|
||||
CSRF_TRUSTED_ORIGINS=http://localhost:5173
|
||||
DATABASE_URL=postgres://prism:prism@db:5432/prism
|
||||
EMAIL_URL=smtp://mailpit:1025
|
||||
DEFAULT_FROM_EMAIL=no-reply@prism.localhost
|
||||
# E-mails (SMTP). En développement : Mailpit, qui accepte tous les identifiants.
|
||||
SMTP_HOST='mailpit'
|
||||
SMTP_PORT=1025
|
||||
SMTP_USE_TLS='False'
|
||||
SMTP_USERNAME='intelleau@champs-libres.coop'
|
||||
SMTP_PASSWORD='whatever-since-mailpit-accepts-everything'
|
||||
FROM_EMAIL="prism@mg.champs-libres.eu"
|
||||
|
||||
# Sources externes (valeurs par défaut dans config/settings.py)
|
||||
# BEST_ADDRESS_URL=
|
||||
|
||||
Reference in new issue
Block a user