summaryrefslogtreecommitdiffstats
path: root/docs/content/installation/with-docker.en-us.md
diff options
context:
space:
mode:
authorFelix Victor <felix.victor.na@gmail.com>2023-07-26 15:50:15 +0200
committerGitHub <noreply@github.com>2023-07-26 21:50:15 +0800
commit0533187f28f293adaf34f58d4a285ae2b0b267ad (patch)
tree268137fe3f86b2ea3157adb9f40d8352b3450617 /docs/content/installation/with-docker.en-us.md
parent1c6c38fa6eae2efd35d38b78385d37fba92a93e2 (diff)
downloadgitea-0533187f28f293adaf34f58d4a285ae2b0b267ad.tar.gz
gitea-0533187f28f293adaf34f58d4a285ae2b0b267ad.zip
Update email-setup.en-us.md (#26068)
The setting `MAILER_TYPE` is deprecated. According to the config cheat sheet, it should be `PROTOCOL`. --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'docs/content/installation/with-docker.en-us.md')
-rw-r--r--docs/content/installation/with-docker.en-us.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/content/installation/with-docker.en-us.md b/docs/content/installation/with-docker.en-us.md
index 7b47046031..f5a09e9fc5 100644
--- a/docs/content/installation/with-docker.en-us.md
+++ b/docs/content/installation/with-docker.en-us.md
@@ -303,9 +303,8 @@ services:
environment:
- GITEA__mailer__ENABLED=true
- GITEA__mailer__FROM=${GITEA__mailer__FROM:?GITEA__mailer__FROM not set}
- - GITEA__mailer__MAILER_TYPE=smtp
+ - GITEA__mailer__PROTOCOL=smtps
- GITEA__mailer__HOST=${GITEA__mailer__HOST:?GITEA__mailer__HOST not set}
- - GITEA__mailer__IS_TLS_ENABLED=true
- GITEA__mailer__USER=${GITEA__mailer__USER:-apikey}
- GITEA__mailer__PASSWD="""${GITEA__mailer__PASSWD:?GITEA__mailer__PASSWD not set}"""
```