fix(Nextcloud): Add variable to configure SMTP #55

Merged
kosssi merged 1 commits from gitea into main 2023-05-10 22:03:08 +02:00
1 changed files with 8 additions and 8 deletions

View File

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