mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 14:17:46 +00:00
723836cc03
Demo course about pages were not available (and probably many other pages as well) because the preview url was the same as the real url. Kudos to @dannielarriola for solving this! Close issues #11 #7.
70 lines
2.3 KiB
Plaintext
70 lines
2.3 KiB
Plaintext
{
|
|
"SITE_NAME": "${LMS_HOST}",
|
|
"BOOK_URL": "",
|
|
"LOG_DIR": "/openedx/data/logs",
|
|
"LOGGING_ENV": "sandbox",
|
|
"OAUTH_OIDC_ISSUER": "http://localhost:8000/oauth2",
|
|
"PLATFORM_NAME": "${PLATFORM_NAME}",
|
|
"FEATURES": {
|
|
"PREVIEW_LMS_BASE": "preview.${LMS_HOST}"
|
|
},
|
|
"LMS_ROOT_URL": "http://${LMS_HOST}",
|
|
"CMS_ROOT_URL": "http://${CMS_HOST}",
|
|
"CMS_BASE": "${CMS_HOST}",
|
|
"LMS_BASE": "${LMS_HOST}",
|
|
"CELERY_BROKER_HOSTNAME": "rabbitmq",
|
|
"CELERY_BROKER_TRANSPORT": "amqp",
|
|
"MEDIA_ROOT": "/openedx/data/uploads/",
|
|
"STATIC_ROOT_BASE": "/openedx/data/staticfiles",
|
|
"EMAIL_BACKEND": "django.core.mail.backends.smtp.EmailBackend",
|
|
"EMAIL_HOST": "smtp",
|
|
"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": {
|
|
"KEY_PREFIX": "staticfiles_general",
|
|
"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"
|
|
}
|
|
}
|
|
}
|