mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 23:07:42 -02:30
replace rabbitmq with redis
* local awx docker-compose and image build only.
This commit is contained in:
committed by
Ryan Petrello
parent
be58906aed
commit
e94bb44082
@@ -10,17 +10,13 @@ DATABASES = {
|
||||
}
|
||||
}
|
||||
|
||||
BROKER_URL = 'amqp://{}:{}@{}:{}/{}'.format(
|
||||
"{{ rabbitmq_user }}",
|
||||
"{{ rabbitmq_password }}",
|
||||
"{{ rabbitmq_hostname | default('rabbitmq')}}",
|
||||
"{{ rabbitmq_port }}",
|
||||
"{{ rabbitmq_default_vhost }}")
|
||||
BROKER_URL = 'redis://{}:{}/'.format(
|
||||
"{{ redis_hostname }}",
|
||||
"{{ redis_port }}",)
|
||||
|
||||
CHANNEL_LAYERS = {
|
||||
'default': {'BACKEND': 'asgi_amqp.AMQPChannelLayer',
|
||||
'ROUTING': 'awx.main.routing.channel_routing',
|
||||
'CONFIG': {'url': BROKER_URL}}
|
||||
'default': {'BACKEND': 'awx.main.channels.RedisGroupBroadcastChannelLayer',
|
||||
'CONFIG': {'hosts': [("{{ redis_hostname }}", {{ redis_port|int }})]}}
|
||||
}
|
||||
|
||||
CACHES = {
|
||||
|
||||
Reference in New Issue
Block a user