Unbreak mailrelay config

This commit is contained in:
decentral1se
2021-06-02 11:20:24 +02:00
parent 8af9be6a40
commit be6cf302d0
3 changed files with 25 additions and 12 deletions
-10
View File
@@ -4,13 +4,8 @@ version: "3.8"
services:
app:
entrypoint: /docker-entrypoint.mailrelay.sh
secrets:
- smtp_password
environment:
- SMTP_HOST=${SMTP_HOST}
- SMTP_PORT=${SMTP_PORT:25}
- SMTP_AUTH=${SMTP_AUTH}
- SMTP_TLS=${SMTP_TLS}
- MAIL_FROM=${MAIL_FROM}
configs:
- source: mstmp_conf
@@ -28,8 +23,3 @@ configs:
name: ${STACK_NAME}_entrypoint_mailrelay_${ENTRYPOINT_MAILRELAY_CONF_VERSION}
file: entrypoint.mailrelay.sh.tmpl
template_driver: golang
secrets:
smtp_password:
name: ${STACK_NAME}_smtp_password_${SECRET_SMTP_PASSWORD_VERSION}
external: true