Configure SMTP via separate environment variables
CI / Deploy / test (push) Successful in 1m2s
CI / Deploy / deploy (push) Skipped

Add SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASSWORD and SMTP_TLS instead of
requiring a transport URL, so passwords need no URL escaping. Port 465 uses
implicit SSL. EMAIL_TRANSPORT_DEFAULT_URL keeps working as a fallback.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-12 00:10:29 +01:00
1 parent 31df730374
commit df4445c1a4
5 files changed
+36 -20

No files matched your search

+2 -1
View File
@@ -354,7 +354,8 @@ Der Start ist idempotent (Migrationen + `cache clear_all`). Der Healthcheck prü
`.gitea/workflows/docker.yml` baut bei Push auf `main` und pusht `:latest` + `:<sha>` in die Gitea-Registry
(Variablen `DOCKER_REPO`, `IMAGE_NAME`, Secret `PAT`). Beispiel: `docker-compose.yml`.
Produktiv auf dem Server in `config/.env`: `DEBUG=false`, `APP_FULL_BASE_URL`, `SECURITY_SALT`, SMTP.
Produktiv auf dem Server in `config/.env`: `DEBUG=false`, `APP_FULL_BASE_URL`, `SECURITY_SALT`, SMTP
(`SMTP_HOST`, `SMTP_PORT`, `SMTP_USER`, `SMTP_PASSWORD`, `SMTP_TLS` – einzelne Variablen statt URL; `EMAIL_TRANSPORT_DEFAULT_URL` geht weiter als Altlast).
Ohne `DEBUG=false` steht die per Composer erzeugte `app_local.php` auf debug=true und zeigt Admin-Links direkt an.
Document-Root zeigt idealerweise auf `webroot/`; liegt die App direkt im Document-Root (z. B. `public_html`),
leiten `.htaccess` + `index.php` im Projektroot alles nach `webroot/` weiter.