Merge pull request #3583 from kumy/patch-1

Use variables to set rabbitmq host and port

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot] 2019-09-27 01:18:20 +00:00 committed by GitHub
commit bc6edf7af3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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',