fix(Nextcloud): Add variable to configure SMTP

This commit is contained in:
Simon 2023-05-10 21:54:52 +02:00
parent d5e61d35a5
commit 37e17484fa
1 changed files with 8 additions and 0 deletions

View File

@ -7,11 +7,19 @@ services:
NC_mail_smtphost: ${NC_mail_smtphost:?err} # The hostname of the SMTP server. NC_mail_smtphost: ${NC_mail_smtphost:?err} # The hostname of the SMTP server.
NC_mail_smtpsecure: ${NC_mail_smtpsecure:-ssl} # Set to ssl to use SSL, or tls to use STARTTLS. NC_mail_smtpsecure: ${NC_mail_smtpsecure:-ssl} # Set to ssl to use SSL, or tls to use STARTTLS.
NC_mail_smtpport: ${NC_mail_smtpport:-465} NC_mail_smtpport: ${NC_mail_smtpport:-465}
NC_mail_smtp: ${NC_mail_smtpauth}
NC_mail_smtpauthtype: ${NC_mail_smtpauthtype:-LOGIN} NC_mail_smtpauthtype: ${NC_mail_smtpauthtype:-LOGIN}
NC_mail_smtpname: ${NC_mail_smtpname:?err} NC_mail_smtpname: ${NC_mail_smtpname:?err}
NC_mail_smtppassword: ${NC_mail_smtppassword:?err} NC_mail_smtppassword: ${NC_mail_smtppassword:?err}
NC_mail_from_address: ${NC_mail_from_address:?err} NC_mail_from_address: ${NC_mail_from_address:?err}
NC_mail_domain: ${NC_mail_domain:?err} NC_mail_domain: ${NC_mail_domain:?err}
SMTP_HOST: ${NC_mail_smtphost:?err}
SMTP_SECURE: ${NC_mail_smtpsecure:-ssl}
SMTP_AUTHTYPE: ${NC_mail_smtpauthtype:-LOGIN}
SMTP_NAME: ${NC_mail_smtpname:?err}
SMTP_PASSWORD: ${NC_mail_smtppassword:?err}
MAIL_FROM_ADDRESS: ${NC_mail_from_address:?err}
MAIL_DOMAIN: ${NC_mail_domain:?err}
nextcloud-cron: nextcloud-cron:
environment: environment: