aboutsummaryrefslogtreecommitdiff
path: root/roles/gitea/templates
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-07-22 20:03:25 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-07-22 20:03:25 +0200
commit4790dcfc39ecfd382fbcb3e5250f76f1522f955b (patch)
tree1ebfed7a706b8c3b8cbe12ee0097bb5fe5161b44 /roles/gitea/templates
parent05a269404076188c86cc25b54504811c6a7d56da (diff)
downloadansible_collection-4790dcfc39ecfd382fbcb3e5250f76f1522f955b.tar.gz
fix gitea
Diffstat (limited to 'roles/gitea/templates')
-rw-r--r--roles/gitea/templates/app.ini.j25
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/gitea/templates/app.ini.j2 b/roles/gitea/templates/app.ini.j2
index 3be53b0..26c1527 100644
--- a/roles/gitea/templates/app.ini.j2
+++ b/roles/gitea/templates/app.ini.j2
@@ -8,6 +8,7 @@ RUN_MODE = prod
ROOT = /home/git/gitea-repositories
[server]
+APP_DATA_PATH = /home/git/
PROTOCOL = https
DOMAIN = {{ ansible_facts.fqdn }}
ROOT_URL = {{ gitea.root_url }}
@@ -54,7 +55,6 @@ ALLOWED_HOST_LIST = {{ gitea.webhook_allowed_hosts }}
[mailer]
ENABLED = {{ gitea.mail.enable }}
{% if gitea.mail.enable %}
-SEND_BUFFER_LEN = 100
SUBJECT_PREFIX = {{ gitea.mail.subject_prefix }}
HOST = {{ gitea.mail.smtp_host }}
SKIP_VERIFY = {{ gitea.mail.skip_verify }}
@@ -67,6 +67,9 @@ MAILER_TYPE = smtp
SENDMAIL_PATH = sendmail
SENDMAIL_ARGS =
SENDMAIL_TIMEOUT = 5m
+
+[queue.mailer]
+SEND_BUFFER_LEN = 100
{% endif %}
[log]