migrate from BROKER_URL to CELERY_BROKER_URL
This commit is contained in:
parent
68b56f0c9e
commit
2c41b17bc4
5 changed files with 21 additions and 14 deletions
|
|
@ -117,9 +117,9 @@ if [ "$RABBITMQ" == "local" ]; then
|
|||
rabbitmqctl add_user pandora $RABBITPWD
|
||||
rabbitmqctl add_vhost /pandora
|
||||
rabbitmqctl set_permissions -p /pandora pandora ".*" ".*" ".*"
|
||||
BROKER_URL="amqp://pandora:$RABBITPWD@localhost:5672//pandora"
|
||||
CELERY_BROKER_URL="amqp://pandora:$RABBITPWD@localhost:5672//pandora"
|
||||
else
|
||||
BROKER_URL="$RABBITMQ"
|
||||
CELERY_BROKER_URL="$RABBITMQ"
|
||||
fi
|
||||
|
||||
# checkout pandora from git
|
||||
|
|
@ -145,7 +145,7 @@ DATABASES = {
|
|||
'PASSWORD': '',
|
||||
}
|
||||
}
|
||||
BROKER_URL = '$BROKER_URL'
|
||||
CELERY_BROKER_URL = '$CELERY_BROKER_URL'
|
||||
XACCELREDIRECT = True
|
||||
|
||||
DEBUG = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue