From e3156c7c0157ca563af60995a09106d090b54a60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Thu, 20 Jan 2022 13:48:04 +0000 Subject: [PATCH] Gitea: setup mailer, raise LOGIN_REMEMBER_DAYS --- roles/docker/defaults/main.yml | 1 + roles/docker/tasks/services/gitea.yml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/roles/docker/defaults/main.yml b/roles/docker/defaults/main.yml index 9cf9cc4..3c702b5 100644 --- a/roles/docker/defaults/main.yml +++ b/roles/docker/defaults/main.yml @@ -104,3 +104,4 @@ postfix: - "services.{{ base_domain }}" - "{{ passit.domain }}" - "{{ fider.domain }}" + - "{{ gitea.domain }}" diff --git a/roles/docker/tasks/services/gitea.yml b/roles/docker/tasks/services/gitea.yml index cd98662..011b34c 100644 --- a/roles/docker/tasks/services/gitea.yml +++ b/roles/docker/tasks/services/gitea.yml @@ -21,3 +21,7 @@ VIRTUAL_PORT: "3000" LETSENCRYPT_HOST: "{{ gitea.domain }}" 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"