From fff5879504e6cd5d0751094758232e8c947d7fa4 Mon Sep 17 00:00:00 2001 From: Knud Hollander <26556793+KnudH@users.noreply.github.com> Date: Wed, 3 Apr 2024 16:05:25 +0200 Subject: [PATCH 1/2] update mailer example config, remove deprecated HOST --- docs/content/installation/with-docker.en-us.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/installation/with-docker.en-us.md b/docs/content/installation/with-docker.en-us.md index e8a80f7c9694a..fe429768365a7 100644 --- a/docs/content/installation/with-docker.en-us.md +++ b/docs/content/installation/with-docker.en-us.md @@ -304,7 +304,7 @@ services: - GITEA__mailer__ENABLED=true - GITEA__mailer__FROM=${GITEA__mailer__FROM:?GITEA__mailer__FROM not set} - GITEA__mailer__PROTOCOL=smtps - - GITEA__mailer__HOST=${GITEA__mailer__HOST:?GITEA__mailer__HOST not set} + - GITEA__mailer__SMTP_ADDR=${GITEA__mailer__SMTP_ADDR:?GITEA__mailer__SMTP_ADDR not set} - GITEA__mailer__USER=${GITEA__mailer__USER:-apikey} - GITEA__mailer__PASSWD="""${GITEA__mailer__PASSWD:?GITEA__mailer__PASSWD not set}""" ``` From 54b73d1244abb636e58431f1db117f65a32f690c Mon Sep 17 00:00:00 2001 From: Knud Hollander <26556793+KnudH@users.noreply.github.com> Date: Thu, 4 Apr 2024 00:55:37 +0200 Subject: [PATCH 2/2] adds port settings Co-authored-by: Nanguan Lin --- docs/content/installation/with-docker.en-us.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/content/installation/with-docker.en-us.md b/docs/content/installation/with-docker.en-us.md index fe429768365a7..a16d4a8d60b67 100644 --- a/docs/content/installation/with-docker.en-us.md +++ b/docs/content/installation/with-docker.en-us.md @@ -305,6 +305,7 @@ services: - GITEA__mailer__FROM=${GITEA__mailer__FROM:?GITEA__mailer__FROM not set} - GITEA__mailer__PROTOCOL=smtps - GITEA__mailer__SMTP_ADDR=${GITEA__mailer__SMTP_ADDR:?GITEA__mailer__SMTP_ADDR not set} + - GITEA__mailer__SMTP_PORT=${GITEA__mailer__SMTP_PORT:?GITEA__mailer__SMTP_PORT not set} - GITEA__mailer__USER=${GITEA__mailer__USER:-apikey} - GITEA__mailer__PASSWD="""${GITEA__mailer__PASSWD:?GITEA__mailer__PASSWD not set}""" ```