Fix Pandora RabbitMQ password generation (no slashes)
This commit is contained in:
parent
006a6017ae
commit
969b0e9689
@ -34,7 +34,7 @@ sudo -u postgres psql -f /tmp/pandora-createdb.sql
|
||||
rm -f /tmp/pandora-createdb.sql
|
||||
|
||||
# Configure RabbitMQ
|
||||
export PANDORA_RABBIT_PWD=$(head -c 18 /dev/urandom | base64)
|
||||
export PANDORA_RABBIT_PWD=$(head -c 18 /dev/urandom | base64 | tr -d "/")
|
||||
export PANDORA_BROKER_URL="amqp://pandora:${PANDORA_RABBIT_PWD}@localhost:5672//pandora"
|
||||
rabbitmqctl add_user pandora ${PANDORA_RABBIT_PWD}
|
||||
rabbitmqctl add_vhost /pandora
|
||||
|
Loading…
Reference in New Issue
Block a user