Integrate Motech with postfix

This commit is contained in:
Disassembler 2018-02-03 13:19:24 +01:00
parent cf93891704
commit ffc3cd1a6a
Signed by: Disassembler
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
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 tomcat || $(realpath $(dirname "${0}"))/tomcat.sh

View File

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