mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-15 07:48:38 -05:00
Initial qpid development work
* Switch base tower devel image from u14.04 to c7 * Switch container image to build python dependencies into itself instead of forcing it to be built on startup * Upgrade venv pip to 8.1.2 * Neuter queue.py which was heavily tied to redis and was basically orphaned code * Alter local_settings to override default cache settings and use memcached * Alter local settings to refer to qpid instead of redis for celery broker * Purge redis python dependencies and add qpid and memcached * Update docker-compose to purge redis and add qpid and memcached
This commit is contained in:
@@ -48,8 +48,23 @@ if is_testing(sys.argv):
|
||||
|
||||
MONGO_DB = 'system_tracking_test'
|
||||
|
||||
# Django Caching Configuration
|
||||
if is_testing():
|
||||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
||||
},
|
||||
}
|
||||
else:
|
||||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
|
||||
'LOCATION': 'memcached:11211',
|
||||
},
|
||||
}
|
||||
|
||||
# Celery AMQP configuration.
|
||||
BROKER_URL = 'redis://redis/'
|
||||
BROKER_URL = 'qpid://qpid:5672'
|
||||
|
||||
# Mongo host configuration
|
||||
MONGO_HOST = NotImplemented
|
||||
|
||||
Reference in New Issue
Block a user