mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-30 02:31:31 +00:00
30 lines
738 B
Python
30 lines
738 B
Python
![]() |
DATABASES = {
|
||
|
'default': {
|
||
|
'ATOMIC_REQUESTS': True,
|
||
|
'ENGINE': 'django.db.backends.postgresql',
|
||
|
'NAME': "awx",
|
||
|
'USER': "awx",
|
||
|
'PASSWORD': "awxpass",
|
||
|
'HOST': "postgres",
|
||
|
'PORT': "5432",
|
||
|
}
|
||
|
}
|
||
|
|
||
|
BROKER_URL = 'amqp://guest:guest@rabbitmq:5672/awx'
|
||
|
|
||
|
CHANNEL_LAYERS = {
|
||
|
'default': {'BACKEND': 'asgi_amqp.AMQPChannelLayer',
|
||
|
'ROUTING': 'awx.main.routing.channel_routing',
|
||
|
'CONFIG': {'url': BROKER_URL}}
|
||
|
}
|
||
|
|
||
|
CACHES = {
|
||
|
'default': {
|
||
|
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
|
||
|
'LOCATION': 'memcached:11211'
|
||
|
},
|
||
|
'ephemeral': {
|
||
|
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
||
|
},
|
||
|
}
|