feat: Gitea | enable smtp mail

This commit is contained in:
2024-10-12 18:58:26 +05:00
parent db935d355c
commit 058666330a
2 changed files with 20 additions and 0 deletions

View File

@@ -58,6 +58,11 @@ gitea:
DISABLE_REGISTRATION: true
oauth2_client:
ENABLE_AUTO_REGISTRATION: true
mailer:
ENABLED: true
PROTOCOL: smtp+starttls
SMTP_ADDR: smtp.protonmail.ch
SMTP_PORT: 587
oauth:
- name: "authentik"
provider: "openidConnect"
@@ -76,6 +81,11 @@ gitea:
secretKeyRef:
name: gitea-redis
key: password
- name: GITEA__MAILER__PASSWD
valueFrom:
secretKeyRef:
name: smtp-token
key: password
persistence:
enabled: true
accessModes: