use latest mail image

This commit is contained in:
Girish Ramakrishnan
2016-04-14 19:37:34 -07:00
parent d095899aef
commit 8256f97e9d
2 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -43,11 +43,14 @@ if docker images "${GRAPHITE_REPO}" | tail -n +2 | awk '{ print $1 ":" $2 }' | g
fi
# mail (MAIL_SMTP_PORT is 2500 in addons.js. used in mailer.js as well)
# MAIL_SERVER_NAME is the hostname of the mailserver i.e server uses these certs
# MAIL_DOMAIN is the domain for which this server is relaying mails
mail_container_id=$(docker run --restart=always -d --name="mail" \
-m 75m \
--memory-swap 150m \
-h "${arg_fqdn}" \
-e "DOMAIN_NAME=${arg_fqdn}" \
-e "MAIL_SERVER_NAME=${arg_fqdn}" \
-e "MAIL_DOMAIN=${arg_fqdn}" \
-v "${DATA_DIR}/box/mail:/app/data" \
--read-only -v /tmp -v /run \
"${MAIL_IMAGE}")