Integrate GNU Health with postfix

This commit is contained in:
Disassembler 2018-02-03 11:20:40 +01:00
parent dfd405e444
commit 00b2f7e9c5
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
3 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,7 @@
SOURCE_DIR=$(realpath $(dirname "${0}"))/gnuhealth
# Check prerequisites
docker image ls | grep -q postfix || $(realpath $(dirname "${0}"))/postfix.sh
docker image ls | grep -q postgres || $(realpath $(dirname "${0}"))/postgres.sh
# Build Docker container

View File

@ -4,7 +4,7 @@ description="GNU Health docker container"
depend() {
need docker net
use dns logger netmount
use dns logger netmount postfix
after postgres
}
@ -12,6 +12,7 @@ start() {
/usr/bin/docker run -d --rm \
--name gnuhealth \
-h gnuhealth \
--link postfix \
--link postgres \
-p 127.0.0.1:8008:8008 \
-v /srv/gnuhealth/conf:/srv/gnuhealth/gnuhealth/tryton/server/config \

View File

@ -12,3 +12,4 @@ ssl_webdav = False
[email]
from = gnuhealth@spotter.ngo
uri = smtp://postfix:25