services/nextcloud/docker-compose.smtp.yml

18 lines
480 B
YAML

version: "3.8"
services:
nextcloud-fpm:
environment:
&smtp-configuration
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:
environment:
<<: *smtp-configuration