Integrate CKAN with postfix
This commit is contained in:
parent
d2acca67ed
commit
93a2918206
1
ckan.sh
1
ckan.sh
@ -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
|
||||
|
@ -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 \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user