Integrate Pandora with postfix
This commit is contained in:
parent
ffc3cd1a6a
commit
cf42cf349c
@ -3,8 +3,9 @@
|
||||
SOURCE_DIR=$(realpath $(dirname "${0}"))/pandora
|
||||
|
||||
# Check prerequisites
|
||||
docker image ls | grep -q rabbitmq || $(realpath $(dirname "${0}"))/rabbitmq.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 rabbitmq || $(realpath $(dirname "${0}"))/rabbitmq.sh
|
||||
|
||||
# Build Docker container
|
||||
docker build -t pandora ${SOURCE_DIR}
|
||||
|
@ -4,7 +4,7 @@ description="Pan.do/ra docker container"
|
||||
|
||||
depend() {
|
||||
need docker net
|
||||
use dns logger netmount
|
||||
use dns logger netmount postfix
|
||||
after postgres rabbitmq
|
||||
}
|
||||
|
||||
@ -12,6 +12,7 @@ start() {
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name pandora \
|
||||
-h pandora \
|
||||
--link postfix \
|
||||
--link postgres \
|
||||
--link rabbitmq \
|
||||
-p 127.0.0.1:8002:8002 \
|
||||
|
@ -7,8 +7,12 @@ DATABASES = {
|
||||
'PASSWORD': '${PANDORA_PWD}',
|
||||
}
|
||||
}
|
||||
BROKER_URL = 'amqp://pandora:${PANDORA_RABBIT_PWD}@rabbitmq:5672//pandora'
|
||||
DB_GIN_TRGM = True
|
||||
|
||||
BROKER_URL = 'amqp://pandora:${PANDORA_RABBIT_PWD}@rabbitmq:5672//pandora'
|
||||
|
||||
EMAIL_HOST = 'postfix'
|
||||
|
||||
XACCELREDIRECT = True
|
||||
|
||||
GOOGLE_API_KEY = 'AIzaSyBvIF3D550tlpL6o1xRrDurGo-81VhHlOw'
|
||||
|
Loading…
Reference in New Issue
Block a user