Integrate Sigmah with postfix
This commit is contained in:
parent
fde06390ea
commit
2181423d9a
@ -4,6 +4,7 @@ SOURCE_DIR=$(realpath $(dirname "${0}"))/sigmah
|
||||
|
||||
# Check prerequisites
|
||||
docker image ls | grep -q postgres || $(realpath $(dirname "${0}"))/postgres.sh
|
||||
docker image ls | grep -q postfix || $(realpath $(dirname "${0}"))/postfix.sh
|
||||
docker image ls | grep -q tomcat || $(realpath $(dirname "${0}"))/tomcat.sh
|
||||
|
||||
# Build Docker container
|
||||
|
@ -4,7 +4,7 @@ description="Sigmah docker container"
|
||||
|
||||
depend() {
|
||||
need docker net
|
||||
use dns logger netmount
|
||||
use dns logger netmount postfix
|
||||
after activemq postgres
|
||||
}
|
||||
|
||||
@ -12,6 +12,7 @@ start() {
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name sigmah \
|
||||
-h sigmah \
|
||||
--link postfix \
|
||||
--link postgres \
|
||||
-p 127.0.0.1:8011:8011 \
|
||||
-v /srv/sigmah/data:/srv/sigmah/data \
|
||||
|
@ -23,7 +23,7 @@ files.upload.maxSize=20971520
|
||||
# --
|
||||
|
||||
mail.hostname=postfix
|
||||
mail.port=587
|
||||
mail.port=25
|
||||
mail.from.address=sigmah@spotter.ngo
|
||||
mail.from.name=Sigmah
|
||||
# Authentication (leave empty if no authentication is required).
|
||||
|
Loading…
Reference in New Issue
Block a user