Integrate GNU Health with postfix
This commit is contained in:
parent
dfd405e444
commit
00b2f7e9c5
@ -3,6 +3,7 @@
|
|||||||
SOURCE_DIR=$(realpath $(dirname "${0}"))/gnuhealth
|
SOURCE_DIR=$(realpath $(dirname "${0}"))/gnuhealth
|
||||||
|
|
||||||
# Check prerequisites
|
# Check prerequisites
|
||||||
|
docker image ls | grep -q postfix || $(realpath $(dirname "${0}"))/postfix.sh
|
||||||
docker image ls | grep -q postgres || $(realpath $(dirname "${0}"))/postgres.sh
|
docker image ls | grep -q postgres || $(realpath $(dirname "${0}"))/postgres.sh
|
||||||
|
|
||||||
# Build Docker container
|
# Build Docker container
|
||||||
|
@ -4,7 +4,7 @@ description="GNU Health docker container"
|
|||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
need docker net
|
need docker net
|
||||||
use dns logger netmount
|
use dns logger netmount postfix
|
||||||
after postgres
|
after postgres
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -12,6 +12,7 @@ start() {
|
|||||||
/usr/bin/docker run -d --rm \
|
/usr/bin/docker run -d --rm \
|
||||||
--name gnuhealth \
|
--name gnuhealth \
|
||||||
-h gnuhealth \
|
-h gnuhealth \
|
||||||
|
--link postfix \
|
||||||
--link postgres \
|
--link postgres \
|
||||||
-p 127.0.0.1:8008:8008 \
|
-p 127.0.0.1:8008:8008 \
|
||||||
-v /srv/gnuhealth/conf:/srv/gnuhealth/gnuhealth/tryton/server/config \
|
-v /srv/gnuhealth/conf:/srv/gnuhealth/gnuhealth/tryton/server/config \
|
||||||
|
@ -12,3 +12,4 @@ ssl_webdav = False
|
|||||||
|
|
||||||
[email]
|
[email]
|
||||||
from = gnuhealth@spotter.ngo
|
from = gnuhealth@spotter.ngo
|
||||||
|
uri = smtp://postfix:25
|
||||||
|
Loading…
Reference in New Issue
Block a user