Integrate Sigmah with postfix

This commit is contained in:
Disassembler 2018-02-03 15:17:11 +01:00
parent fde06390ea
commit 2181423d9a
No known key found for this signature in database
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 # Check prerequisites
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 postfix || $(realpath $(dirname "${0}"))/postfix.sh
docker image ls | grep -q tomcat || $(realpath $(dirname "${0}"))/tomcat.sh docker image ls | grep -q tomcat || $(realpath $(dirname "${0}"))/tomcat.sh
# Build Docker container # Build Docker container

View File

@ -4,7 +4,7 @@ description="Sigmah 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
} }
@ -12,6 +12,7 @@ start() {
/usr/bin/docker run -d --rm \ /usr/bin/docker run -d --rm \
--name sigmah \ --name sigmah \
-h sigmah \ -h sigmah \
--link postfix \
--link postgres \ --link postgres \
-p 127.0.0.1:8011:8011 \ -p 127.0.0.1:8011:8011 \
-v /srv/sigmah/data:/srv/sigmah/data \ -v /srv/sigmah/data:/srv/sigmah/data \

View File

@ -23,7 +23,7 @@ files.upload.maxSize=20971520
# -- # --
mail.hostname=postfix mail.hostname=postfix
mail.port=587 mail.port=25
mail.from.address=sigmah@spotter.ngo mail.from.address=sigmah@spotter.ngo
mail.from.name=Sigmah mail.from.name=Sigmah
# Authentication (leave empty if no authentication is required). # Authentication (leave empty if no authentication is required).