Fix SMTP_PORT, and container startup
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
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…
Reference in New Issue