forked from data.coop/ansible
Gitea mail: add crucial configuration
This commit is contained in:
parent
ac455beac0
commit
554024f2b2
|
@ -11,6 +11,7 @@
|
||||||
restart_policy: unless-stopped
|
restart_policy: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- name: gitea
|
- name: gitea
|
||||||
|
- name: postfix
|
||||||
- name: external_services
|
- name: external_services
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ gitea.volume_folder }}:/data"
|
- "{{ gitea.volume_folder }}:/data"
|
||||||
|
@ -24,4 +25,5 @@
|
||||||
GITEA__mailer__ENABLED: "true"
|
GITEA__mailer__ENABLED: "true"
|
||||||
GITEA__mailer__FROM: "noreply@{{ gitea.domain }}"
|
GITEA__mailer__FROM: "noreply@{{ gitea.domain }}"
|
||||||
GITEA__mailer__MAILER_TYPE: "smtp"
|
GITEA__mailer__MAILER_TYPE: "smtp"
|
||||||
|
GITEA__mailer__HOST: "{{ smtp_port }}:{{ smtp_port }}"
|
||||||
GITEA__security__LOGIN_REMEMBER_DAYS: "60"
|
GITEA__security__LOGIN_REMEMBER_DAYS: "60"
|
||||||
|
|
Loading…
Reference in a new issue