Integrate CKAN with postfix

This commit is contained in:
Disassembler 2018-01-30 16:34:29 +01:00
parent d2acca67ed
commit 93a2918206
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
3 changed files with 5 additions and 2 deletions

View File

@ -4,6 +4,7 @@ SOURCE_DIR=$(realpath $(dirname "${0}"))/ckan
# Check prerequisites
docker image ls | grep -q ckan-datapusher || $(realpath $(dirname "${0}"))/ckan-datapusher.sh
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 redis || $(realpath $(dirname "${0}"))/redis.sh
docker image ls | grep -q solr || $(realpath $(dirname "${0}"))/solr.sh

View File

@ -4,7 +4,7 @@ description="CKAN docker container"
depend() {
need docker net
use dns logger netmount
use dns logger netmount postfix
after postgres redis solr ckan-datapusher
}
@ -16,6 +16,8 @@ start() {
/usr/bin/docker run -d --rm \
--name ckan \
-h ckan \
--link ckan-datapusher \
--link postfix \
--link postgres \
--link redis \
--link solr \

View File

@ -199,7 +199,7 @@ ckan.hide_activity_from_users = %(ckan.site_id)s
#email_to = errors@example.com
#error_email_from = ckan-errors@example.com
smtp.server = localhost
smtp.server = postfix
smtp.starttls = False
#smtp.user = username@example.com
#smtp.password = your_password