Move mailer config to environment

This commit is contained in:
bom 2022-07-14 15:00:12 +02:00
parent 1499ddad63
commit 6114cdf2f6
2 changed files with 6 additions and 9 deletions

View file

@ -90,15 +90,6 @@ data:
[oauth2]
;JWT_SECRET =
[mailer]
ENABLED = false
FROM = gitea@meissa-gmbh.de
MAILER_TYPE = smtp
HOST = mail.routing.net:587
IS_TLS_ENABLED = true
USER =
PASSWD =
[openid]
ENABLE_OPENID_SIGNIN = true
ENABLE_OPENID_SIGNUP = true

View file

@ -12,3 +12,9 @@ data:
GITEA__server__DOMAIN: FQDN
GITEA__server__ROOT_URL: URL
GITEA__mailer__ENABLED: "true"
GITEA__mailer__FROM: gitea@meissa-gmbh.de
GITEA__mailer__MAILER_TYPE: smtp
GITEA__mailer__HOST: mail.routing.net:25
GITEA__mailer__IS_TLS_ENABLED: "true"