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
|
# 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
|
||||||
|
@ -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 \
|
||||||
|
@ -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).
|
||||||
|
Loading…
Reference in New Issue
Block a user