Thread in more SMTP details

This commit is contained in:
decentral1se 2021-05-06 10:52:31 +02:00
parent ad18f57208
commit be27eb7a54
Signed by untrusted user who does not match committer: decentral1se
GPG Key ID: 92DAD76BD9567B8A
3 changed files with 5 additions and 1 deletions

View File

@ -28,10 +28,11 @@ SECRET_DB_PASSWORD_VERSION=v1
#NGINX_WEBSEED_CDN_ENABLE=true
#NGINX_WEBSEED_CDN_URI=https://some-bucket.some-cdn.net
## E-mail settings
## E-mail settings # <= EDIT ALL THIS
#COMPOSE_FILE="compose.yml:compose.smtp.yml"
#PEERTUBE_SMTP_ENABLED=1
#SECRET_SMTP_PASSWORD_VERSION=v1
#PEERTUBE_SMTP_USERNAME=foobar
#PEERTUBE_SMTP_HOSTNAME=postfix_relay_app
#PEERTUBE_SMTP_PORT=25
#PEERTUBE_SMTP_FROM=peertube@example.com # <= EDIT THIS

View File

@ -8,8 +8,10 @@ services:
- PEERTUBE_SMTP_ENABLED
- PEERTUBE_SMTP_FROM
- PEERTUBE_SMTP_HOSTNAME
- PEERTUBE_SMTP_PASSWORD_FILE: /run/secrets/smtp_password
- PEERTUBE_SMTP_PORT
- PEERTUBE_SMTP_TLS
- PEERTUBE_SMTP_USERNAME
secrets:
- smtp_password

View File

@ -22,5 +22,6 @@ file_env() {
}
file_env "PEERTUBE_DB_PASSWORD"
file_env "PEERTUBE_SMTP_PASSWORD"
exec /entrypoint.sh "$@"