mirror of
https://github.com/zulip/docker-zulip.git
synced 2025-11-01 04:23:41 +00:00
Fixes for the RABBITMQ_HOST
This commit is contained in:
@@ -115,7 +115,10 @@ CACHES = {
|
||||
}
|
||||
EOF
|
||||
# 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
|
||||
cat >> "$ZULIP_ZPROJECT_SETTINGS" <<EOF
|
||||
RABBITMQ_USERNAME = '$RABBITMQ_USERNAME'
|
||||
|
||||
Reference in New Issue
Block a user