feat(Nextcloud): Update SMTP environment variables

This commit is contained in:
Simon 2023-01-03 21:47:02 +01:00
parent 0198c030e9
commit b3dce58f7b
1 changed files with 13 additions and 8 deletions

View File

@ -3,11 +3,16 @@ version: "3.8"
services: services:
nextcloud-fpm: nextcloud-fpm:
environment: environment:
SMTP_HOST: ${SMTP_HOST:?err} # The hostname of the SMTP server. &smtp-configuration
SMTP_SECURE: ${SMTP_SECURE:-ssl} # Set to ssl to use SSL, or tls to use STARTTLS. NC_mail_smtphost: ${NC_mail_smtphost:?err} # The hostname of the SMTP server.
SMTP_PORT: ${SMTP_PORT:-465} NC_mail_smtpsecure: ${NC_mail_smtpsecure:-ssl} # Set to ssl to use SSL, or tls to use STARTTLS.
SMTP_AUTHTYPE: ${SMTP_AUTHTYPE:-LOGIN} NC_mail_smtpport: ${NC_mail_smtpport:-465}
SMTP_NAME: ${SMTP_NAME:?err} NC_mail_smtpauthtype: ${NC_mail_smtpauthtype:-LOGIN}
SMTP_PASSWORD: ${SMTP_PASSWORD:?err} NC_mail_smtpname: ${NC_mail_smtpname:?err}
MAIL_FROM_ADDRESS: ${MAIL_FROM_ADDRESS:?err} NC_mail_smtppassword: ${NC_mail_smtppassword:?err}
MAIL_DOMAIN: ${MAIL_DOMAIN:?err} NC_mail_from_address: ${NC_mail_from_address:?err}
NC_mail_domain: ${NC_mail_domain:?err}
nextcloud-cron:
environment:
<<: *smtp-configuration