Improve email set-up

This commit is contained in:
3wc
2020-09-27 21:27:26 +02:00
parent 5f2697c0c9
commit e6dc753365
4 changed files with 18 additions and 9 deletions
+7 -7
View File
@@ -3,17 +3,17 @@ version: "3.8"
services:
wordpress:
entrypoint: /docker-entrypoint2.sh
entrypoint: /docker-entrypoint.sh
environment:
- SMTP_HOST=${SMTP_HOST}
- MAIL_FROM=${MAIL_FROM}
networks:
- mail
configs:
- source: entrypoint_mailrelay_conf
target: /docker-entrypoint2.sh
mode: 0555
- source: mstmp_conf
target: /etc/msmtprc
- source: entrypoint
target: /etc/msmtprc
mode: 0555
networks:
@@ -25,7 +25,7 @@ configs:
name: ${STACK_NAME}_mstmp_conf_${MSMTP_CONF_VERSION}
file: msmtp.conf.tmpl
template_driver: golang
entrypoint_mailrelay_conf:
name: ${STACK_NAME}_entrypoint_mailrelay_${ENTRYPOINT_MAILRELAY_CONF_VERSION}
file: entrypoint.mailrelay.sh.tmpl
entrypoint_conf:
name: ${STACK_NAME}_entrypoint_${ENTRYPOINT_CONF_VERSION}
file: entrypoint.sh.tmpl
template_driver: golang