Integrate Sigmah with postfix

This commit is contained in:
Disassembler 2018-02-03 15:17:11 +01:00
parent fde06390ea
commit 2181423d9a
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
3 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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 \

View File

@ -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).