Fix SMTP_PORT, and container startup
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
dcb3b410ff
commit
76b698bc30
@ -6,7 +6,7 @@ services:
|
||||
entrypoint: /docker-entrypoint.mailrelay.sh
|
||||
environment:
|
||||
- SMTP_HOST=${SMTP_HOST}
|
||||
- SMTP_PORT=${SMTP_PORT}
|
||||
- SMTP_PORT=${SMTP_PORT:-25}
|
||||
- MAIL_FROM=${MAIL_FROM}
|
||||
configs:
|
||||
- source: mstmp_conf
|
||||
|
@ -3,3 +3,5 @@
|
||||
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y msmtp && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
echo "sendmail_path = /usr/bin/msmtp -t -i" > /usr/local/etc/php/conf.d/sendmail.ini
|
||||
|
||||
/docker-entrypoint.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user