Thread in more SMTP details
This commit is contained in:
parent
ad18f57208
commit
be27eb7a54
@ -28,10 +28,11 @@ SECRET_DB_PASSWORD_VERSION=v1
|
|||||||
#NGINX_WEBSEED_CDN_ENABLE=true
|
#NGINX_WEBSEED_CDN_ENABLE=true
|
||||||
#NGINX_WEBSEED_CDN_URI=https://some-bucket.some-cdn.net
|
#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"
|
#COMPOSE_FILE="compose.yml:compose.smtp.yml"
|
||||||
#PEERTUBE_SMTP_ENABLED=1
|
#PEERTUBE_SMTP_ENABLED=1
|
||||||
#SECRET_SMTP_PASSWORD_VERSION=v1
|
#SECRET_SMTP_PASSWORD_VERSION=v1
|
||||||
|
#PEERTUBE_SMTP_USERNAME=foobar
|
||||||
#PEERTUBE_SMTP_HOSTNAME=postfix_relay_app
|
#PEERTUBE_SMTP_HOSTNAME=postfix_relay_app
|
||||||
#PEERTUBE_SMTP_PORT=25
|
#PEERTUBE_SMTP_PORT=25
|
||||||
#PEERTUBE_SMTP_FROM=peertube@example.com # <= EDIT THIS
|
#PEERTUBE_SMTP_FROM=peertube@example.com # <= EDIT THIS
|
||||||
|
@ -8,8 +8,10 @@ services:
|
|||||||
- PEERTUBE_SMTP_ENABLED
|
- PEERTUBE_SMTP_ENABLED
|
||||||
- PEERTUBE_SMTP_FROM
|
- PEERTUBE_SMTP_FROM
|
||||||
- PEERTUBE_SMTP_HOSTNAME
|
- PEERTUBE_SMTP_HOSTNAME
|
||||||
|
- PEERTUBE_SMTP_PASSWORD_FILE: /run/secrets/smtp_password
|
||||||
- PEERTUBE_SMTP_PORT
|
- PEERTUBE_SMTP_PORT
|
||||||
- PEERTUBE_SMTP_TLS
|
- PEERTUBE_SMTP_TLS
|
||||||
|
- PEERTUBE_SMTP_USERNAME
|
||||||
secrets:
|
secrets:
|
||||||
- smtp_password
|
- smtp_password
|
||||||
|
|
||||||
|
@ -22,5 +22,6 @@ file_env() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
file_env "PEERTUBE_DB_PASSWORD"
|
file_env "PEERTUBE_DB_PASSWORD"
|
||||||
|
file_env "PEERTUBE_SMTP_PASSWORD"
|
||||||
|
|
||||||
exec /entrypoint.sh "$@"
|
exec /entrypoint.sh "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user