Gitea mail: add crucial configuration

This commit is contained in:
Reynir Björnsson 2022-01-24 09:19:54 +00:00
parent ac455beac0
commit 554024f2b2
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@
restart_policy: unless-stopped
networks:
- name: gitea
- name: postfix
- name: external_services
volumes:
- "{{ gitea.volume_folder }}:/data"
@ -24,4 +25,5 @@
GITEA__mailer__ENABLED: "true"
GITEA__mailer__FROM: "noreply@{{ gitea.domain }}"
GITEA__mailer__MAILER_TYPE: "smtp"
GITEA__mailer__HOST: "{{ smtp_port }}:{{ smtp_port }}"
GITEA__security__LOGIN_REMEMBER_DAYS: "60"