feat: externalize EMAIL_FROM and EMAIL_USER to .env for gitea and passbolt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-10 18:38:22 +02:00
parent afec1c03f5
commit f231dd5432
4 changed files with 8 additions and 3 deletions
+2
View File
@@ -1,3 +1,5 @@
TRAEFIK_HOST=dev.example.com
NETWORK_NAME=falcon_network
RUNNER_TOKEN=change_me
EMAIL_FROM=gitea@pivoine.art
EMAIL_USER=Gitea
+2 -1
View File
@@ -25,7 +25,8 @@ services:
GITEA__mailer__PROTOCOL: smtp
GITEA__mailer__SMTP_ADDR: mailpit
GITEA__mailer__SMTP_PORT: 1025
GITEA__mailer__FROM: "Gitea <gitea@pivoine.art>"
GITEA__mailer__FROM: ${EMAIL_FROM}
GITEA__mailer__USER: ${EMAIL_USER}
GITEA__service__DISABLE_REGISTRATION: "true"
GITEA__service__REQUIRE_SIGNIN_VIEW: "false"
GITEA__service__ENABLE_NOTIFY_MAIL: "true"