Use variables to set rabbitmq host and port

This commit is contained in:
kumy 2019-04-02 10:28:05 +02:00 committed by Ryan Petrello
parent cb8c9567b0
commit 3dd69a06e7
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

View File

@ -13,9 +13,9 @@ DATABASES = {
BROKER_URL = 'amqp://{}:{}@{}:{}/{}'.format(
"{{ rabbitmq_user }}",
"{{ rabbitmq_password }}",
"{{ rabbitmq_host }}",
"{{ rabbitmq_host | default('rabbitmq')}}",
"{{ rabbitmq_port }}",
"awx")
"{{ rabbitmq_default_vhost }}")
CHANNEL_LAYERS = {
'default': {'BACKEND': 'asgi_amqp.AMQPChannelLayer',