]> source.dussan.org Git - gitea.git/commitdiff
update mailer example config, remove deprecated HOST (#30267)
authorKnud Hollander <26556793+KnudH@users.noreply.github.com>
Wed, 3 Apr 2024 23:16:02 +0000 (01:16 +0200)
committerGitHub <noreply@github.com>
Wed, 3 Apr 2024 23:16:02 +0000 (19:16 -0400)
docs/content/installation/with-docker.en-us.md

index e8a80f7c9694a1cade18426a55de1167da495b81..a16d4a8d60b67065b24e15d3e816285f366be577 100644 (file)
@@ -304,7 +304,8 @@ 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__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}"""
 ```