mirror of
https://github.com/zulip/docker-zulip.git
synced 2025-11-21 15:09:14 +00:00
Fixes for the RABBITMQ_HOST
This commit is contained in:
@@ -115,7 +115,10 @@ CACHES = {
|
|||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
# Rabbitmq settings
|
# Rabbitmq settings
|
||||||
sed -i "s~pika.ConnectionParameters('localhost',~pika.ConnectionParameters('$RABBITMQ_HOST',~g"
|
sed -i "s~pika.ConnectionParameters('localhost',~pika.ConnectionParameters(settings.RABBITMQ_HOST,~g" "$ZULIP_CURRENT_DEPLOY/zerver/lib/queue.py"
|
||||||
|
cat >> "$ZULIP_ZPROJECT_SETTINGS" <<EOF
|
||||||
|
RABBITMQ_HOST = '$RABBITMQ_HOST'
|
||||||
|
EOF
|
||||||
if [ ! -z "$RABBITMQ_USERNAME" ]; then
|
if [ ! -z "$RABBITMQ_USERNAME" ]; then
|
||||||
cat >> "$ZULIP_ZPROJECT_SETTINGS" <<EOF
|
cat >> "$ZULIP_ZPROJECT_SETTINGS" <<EOF
|
||||||
RABBITMQ_USERNAME = '$RABBITMQ_USERNAME'
|
RABBITMQ_USERNAME = '$RABBITMQ_USERNAME'
|
||||||
|
|||||||
Reference in New Issue
Block a user