Integrate SeedDMS with postfix
This commit is contained in:
parent
09dfcd6751
commit
5f1ce1a230
@ -3,6 +3,7 @@
|
||||
SOURCE_DIR=$(realpath $(dirname "${0}"))/seeddms
|
||||
|
||||
# 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="SeedDMS 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 seeddms \
|
||||
-h seeddms \
|
||||
--link postfix \
|
||||
--link postgres \
|
||||
-p 127.0.0.1:8010:8010 \
|
||||
-v /srv/seeddms/data:/srv/seeddms/data \
|
||||
|
@ -14,7 +14,7 @@
|
||||
</connectors>
|
||||
</authentication>
|
||||
<database dbDriver="pgsql" dbHostname="postgres" dbDatabase="seeddms" dbUser="seeddms" dbPass="${SEEDDMS_PWD}" doNotCheckVersion="false"/>
|
||||
<smtp smtpServer="localhost" smtpPort="25" smtpSendFrom="seeddms@localhost" smtpUser="" smtpPassword=""/>
|
||||
<smtp smtpServer="postfix" smtpPort="25" smtpSendFrom="seeddms@spotter.ngo" smtpUser="" smtpPassword=""/>
|
||||
</system>
|
||||
<advanced>
|
||||
<display siteDefaultPage="" rootFolderID="1" titleDisplayHack="true" showMissingTranslations="false"/>
|
||||
|
Loading…
Reference in New Issue
Block a user