Gitea: setup mailer, raise LOGIN_REMEMBER_DAYS

This commit is contained in:
Reynir Björnsson 2022-01-20 13:48:04 +00:00
parent 6e57f1d0c2
commit e3156c7c01
2 changed files with 5 additions and 0 deletions

View file

@ -104,3 +104,4 @@ postfix:
- "services.{{ base_domain }}" - "services.{{ base_domain }}"
- "{{ passit.domain }}" - "{{ passit.domain }}"
- "{{ fider.domain }}" - "{{ fider.domain }}"
- "{{ gitea.domain }}"

View file

@ -21,3 +21,7 @@
VIRTUAL_PORT: "3000" VIRTUAL_PORT: "3000"
LETSENCRYPT_HOST: "{{ gitea.domain }}" LETSENCRYPT_HOST: "{{ gitea.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
GITEA__mailer__ENABLED: true
GITEA__mailer__FROM: "noreply@{{ gitea.domain }}"
GITEA__mailer__MAILER_TYPE: smtp
GITEA__security__LOGIN_REMEMBER_DAYS: "60"