From dc561a7559420c94fe3f14ae3c693c287393cc36 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Tue, 25 Jun 2024 12:19:15 -0700 Subject: [PATCH] Document configuring Gitea SMTP --- druid/config/gitea/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/druid/config/gitea/README.md b/druid/config/gitea/README.md index 2b1ef52..27b06a2 100644 --- a/druid/config/gitea/README.md +++ b/druid/config/gitea/README.md @@ -28,6 +28,23 @@ Allow migrating from specific domains. ALLOWED_DOMAINS = gitlab.jafner.net, *.github.com, github.com ``` +Configure SMTP email. +``` +[mailer] +ENABLED = true +FROM = Gitea +PROTOCOL = smtp+starttls +SMTP_ADDR = smtp.protonmail.ch +SMTP_PORT = 587 +USER = noreply@jafner.net +PASSWD = `****************` +``` + +## Apply changes +Just restart the container. +`cd ~/homelab/druid/config/gitea && docker compose up -d --force-recreate` + + # Re-register Gitea Runners To force the runners to re-register (to apply updated labels, for example).