Integrate Motech with postfix

This commit is contained in:
Disassembler 2018-02-03 13:19:24 +01:00
parent cf93891704
commit ffc3cd1a6a
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
3 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,7 @@ SOURCE_DIR=$(realpath $(dirname "${0}"))/motech
# Check prerequisites # Check prerequisites
docker image ls | grep -q activemq || $(realpath $(dirname "${0}"))/activemq.sh docker image ls | grep -q activemq || $(realpath $(dirname "${0}"))/activemq.sh
docker image ls | grep -q postfix || $(realpath $(dirname "${0}"))/postfix.sh
docker image ls | grep -q postgres || $(realpath $(dirname "${0}"))/postgres.sh docker image ls | grep -q postgres || $(realpath $(dirname "${0}"))/postgres.sh
docker image ls | grep -q tomcat || $(realpath $(dirname "${0}"))/tomcat.sh docker image ls | grep -q tomcat || $(realpath $(dirname "${0}"))/tomcat.sh

View File

@ -4,7 +4,7 @@ description="Motech docker container"
depend() { depend() {
need docker net need docker net
use dns logger netmount use dns logger netmount postfix
after activemq postgres after activemq postgres
} }
@ -13,6 +13,7 @@ start() {
--name motech \ --name motech \
-h motech \ -h motech \
--link activemq \ --link activemq \
--link postfix \
--link postgres \ --link postgres \
-p 127.0.0.1:8013:8013 \ -p 127.0.0.1:8013:8013 \
-v /srv/motech/conf:/srv/tomcat/.motech \ -v /srv/motech/conf:/srv/tomcat/.motech \

View File

@ -1 +1,2 @@
mail.host=postfix
mail.port=25 mail.port=25