kubernetes fix (#484)

* Allow OVERRIDE_HOSTNAME
* Document the new environment variable
This commit is contained in:
Kevin Crawley 2017-01-20 16:30:29 -06:00 committed by Thomas VIAL
parent 480113901e
commit 16c90fc52a
4 changed files with 31 additions and 14 deletions

View file

@ -47,8 +47,9 @@ run:
-v "`pwd`/test/config":/tmp/docker-mailserver \
-v "`pwd`/test":/tmp/docker-mailserver-test \
-e SMTP_ONLY=1 \
-e PERMIT_DOCKER=network\
-h mail.my-domain.com -t $(NAME)
-e PERMIT_DOCKER=network \
-e OVERRIDE_HOSTNAME=mail.my-domain.com \
-t $(NAME)
sleep 15
docker run -d --name mail_fail2ban \
-v "`pwd`/test/config":/tmp/docker-mailserver \