1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-28 19:25:40 +03:00

add channels to reqs and defaults

This commit is contained in:
Wayne Witzel III 2016-09-27 10:19:35 -04:00
parent b448621387
commit 258ddba333
3 changed files with 8 additions and 0 deletions

View File

@ -187,6 +187,7 @@ INSTALLED_APPS = (
'django_extensions',
'djcelery',
'kombu.transport.django',
'channels',
'polymorphic',
'taggit',
'social.apps.django_app.default',

View File

@ -84,6 +84,12 @@ BROKER_URL = "amqp://{}:{}@{}/{}".format(os.environ.get("RABBITMQ_USER"),
os.environ.get("RABBITMQ_HOST"),
os.environ.get("RABBITMQ_VHOST"))
CHANNEL_LAYERS = {
'default': {'BACKEND': 'asgi_amqp.AMQPChannelLayer',
'ROUTING': 'awx.main.routing.channel_routing',
'CONFIG': {'url': BROKER_URL}}
}
# Mongo host configuration
MONGO_HOST = NotImplemented

View File

@ -7,6 +7,7 @@ Babel==2.2.0
billiard==3.3.0.16
boto==2.40.0
celery==3.1.23
channels==0.17.2
cliff==1.15.0
cmd2==0.6.8
d2to1==0.2.11 # TODO: Still needed?