Integrate GNU Health with postfix
This commit is contained in:
parent
dfd405e444
commit
00b2f7e9c5
@ -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
|
||||
|
@ -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 \
|
||||
|
@ -12,3 +12,4 @@ ssl_webdav = False
|
||||
|
||||
[email]
|
||||
from = gnuhealth@spotter.ngo
|
||||
uri = smtp://postfix:25
|
||||
|
Loading…
Reference in New Issue
Block a user