2017-07-03 10:39:19 +00:00
|
|
|
{
|
2018-08-05 14:40:51 +00:00
|
|
|
"SITE_NAME": "{{ CMS_HOST }}",
|
2017-07-03 10:39:19 +00:00
|
|
|
"BOOK_URL": "",
|
2017-07-24 09:32:50 +00:00
|
|
|
"LOG_DIR": "/openedx/data/logs",
|
2017-07-03 10:39:19 +00:00
|
|
|
"LOGGING_ENV": "sandbox",
|
|
|
|
"OAUTH_OIDC_ISSUER": "http://localhost:8000/oauth2",
|
2018-08-05 14:40:51 +00:00
|
|
|
"PLATFORM_NAME": "{{ PLATFORM_NAME }}",
|
2017-07-03 10:39:19 +00:00
|
|
|
"FEATURES": {
|
2018-09-15 09:55:42 +00:00
|
|
|
"PREVIEW_LMS_BASE": "preview.{{ LMS_HOST }}",
|
|
|
|
"ENABLE_COURSEWARE_INDEX": true,
|
2018-10-03 17:10:25 +00:00
|
|
|
"ENABLE_LIBRARY_INDEX": true,
|
|
|
|
"ENABLE_EDXNOTES": {{ "true" if ACTIVATE_NOTES else "false" }}
|
2017-07-03 10:39:19 +00:00
|
|
|
},
|
2018-08-16 13:59:31 +00:00
|
|
|
"LMS_ROOT_URL": "{{ "https" if ACTIVATE_HTTPS else "http" }}://{{ LMS_HOST }}",
|
|
|
|
"CMS_ROOT_URL": "{{ "https" if ACTIVATE_HTTPS else "http" }}://{{ CMS_HOST }}",
|
2018-08-05 14:40:51 +00:00
|
|
|
"CMS_BASE": "{{ CMS_HOST }}",
|
|
|
|
"LMS_BASE": "{{ LMS_HOST }}",
|
2018-09-05 10:24:07 +00:00
|
|
|
"CONTACT_EMAIL": "{{ CONTACT_EMAIL }}",
|
2017-07-24 09:32:50 +00:00
|
|
|
"CELERY_BROKER_HOSTNAME": "rabbitmq",
|
2017-07-03 10:39:19 +00:00
|
|
|
"CELERY_BROKER_TRANSPORT": "amqp",
|
2017-07-24 09:32:50 +00:00
|
|
|
"MEDIA_ROOT": "/openedx/data/uploads/",
|
|
|
|
"STATIC_ROOT_BASE": "/openedx/data/staticfiles",
|
2018-05-27 11:30:23 +00:00
|
|
|
"ELASTIC_SEARCH_CONFIG": [{
|
|
|
|
"host": "elasticsearch",
|
|
|
|
"port": 9200
|
|
|
|
}],
|
2018-01-29 17:05:26 +00:00
|
|
|
"EMAIL_BACKEND": "django.core.mail.backends.smtp.EmailBackend",
|
2017-07-24 09:32:50 +00:00
|
|
|
"EMAIL_HOST": "smtp",
|
2018-11-28 17:27:52 +00:00
|
|
|
"LANGUAGE_CODE": "{{ LANGUAGE_CODE }}",
|
2017-07-03 10:39:19 +00:00
|
|
|
"CACHES": {
|
|
|
|
"default": {
|
|
|
|
"KEY_PREFIX": "default",
|
|
|
|
"VERSION": "1",
|
|
|
|
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
|
|
|
|
"KEY_FUNCTION": "util.memcache.safe_key",
|
|
|
|
"LOCATION": "memcached:11211"
|
|
|
|
},
|
|
|
|
"general": {
|
|
|
|
"KEY_PREFIX": "general",
|
|
|
|
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
|
|
|
|
"KEY_FUNCTION": "util.memcache.safe_key",
|
|
|
|
"LOCATION": "memcached:11211"
|
|
|
|
},
|
|
|
|
"mongo_metadata_inheritance": {
|
|
|
|
"KEY_PREFIX": "mongo_metadata_inheritance",
|
|
|
|
"TIMEOUT": 300,
|
|
|
|
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
|
|
|
|
"KEY_FUNCTION": "util.memcache.safe_key",
|
|
|
|
"LOCATION": "memcached:11211"
|
|
|
|
},
|
|
|
|
"staticfiles": {
|
2018-11-20 15:41:22 +00:00
|
|
|
"KEY_PREFIX": "staticfiles_cms",
|
2017-07-03 10:39:19 +00:00
|
|
|
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
|
|
|
|
"KEY_FUNCTION": "util.memcache.safe_key",
|
|
|
|
"LOCATION": "memcached:11211"
|
|
|
|
},
|
|
|
|
"configuration": {
|
|
|
|
"KEY_PREFIX": "configuration",
|
|
|
|
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
|
|
|
|
"KEY_FUNCTION": "util.memcache.safe_key",
|
|
|
|
"LOCATION": "memcached:11211"
|
|
|
|
},
|
|
|
|
"celery": {
|
|
|
|
"KEY_PREFIX": "celery",
|
|
|
|
"TIMEOUT": "7200",
|
|
|
|
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
|
|
|
|
"KEY_FUNCTION": "util.memcache.safe_key",
|
|
|
|
"LOCATION": "memcached:11211"
|
|
|
|
},
|
|
|
|
"course_structure_cache": {
|
|
|
|
"KEY_PREFIX": "course_structure",
|
|
|
|
"TIMEOUT": "7200",
|
|
|
|
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
|
|
|
|
"KEY_FUNCTION": "util.memcache.safe_key",
|
|
|
|
"LOCATION": "memcached:11211"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|