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
|
# 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
|
||||||
|
|
||||||
|
@ -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 \
|
||||||
|
@ -1 +1,2 @@
|
|||||||
|
mail.host=postfix
|
||||||
mail.port=25
|
mail.port=25
|
||||||
|
Loading…
Reference in New Issue
Block a user