Integrate Motech with postfix
This commit is contained in:
parent
cf93891704
commit
ffc3cd1a6a
@ -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
|
||||
|
||||
|
@ -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 \
|
||||
|
@ -1 +1,2 @@
|
||||
mail.host=postfix
|
||||
mail.port=25
|
||||
|
Loading…
Reference in New Issue
Block a user