This repository has been archived by the owner on Jan 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
/
cms.env.json
67 lines (67 loc) · 2.85 KB
/
cms.env.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"SITE_NAME": "--- server domain name, e.g: studio.myopenedx.com ---",
"BOOK_URL": "",
"LOG_DIR": "--- directory containing app tracking logs, e.g: /opt/openedx/logs (make sure this folder exists and is writable by user) ---",
"LOGGING_ENV": "sandbox",
"OAUTH_OIDC_ISSUER": "http://localhost:8000/oauth2",
"PLATFORM_NAME": "--- your platform name, as it will appear on the website, e.g: My Open edX ---",
"FEATURES": {
"PREVIEW_LMS_BASE": "--- base url for previewing courseware from the studio, e.g: localhost:8000 ---"
},
"LMS_ROOT_URL": "--- lms root url, e.g: http://localhost:8000 or http://myopenedx.com ---",
"CMS_ROOT_URL": "--- cms root url, e.g: http://localhost:8001 or http://studio.myopenedx.com ---",
"CMS_BASE": "--- cms domain name, e.g: studio.myopenedx.com",
"LMS_BASE": "--- lms domain name, e.g: myopenedx.com",
"CELERY_BROKER_HOSTNAME": "--- rabbitmq domain name, e.g: localhost ---",
"CELERY_BROKER_TRANSPORT": "amqp",
"MEDIA_ROOT": "--- folder that will contain the user-uploaded files, e.g: /opt/openedx/uploads/ (make sure this folder exists and is writable by user) ---",
--- in the following, the various caches all point to a local memcache running on localhost:11211 ---
"CACHES": {
"default": {
"KEY_PREFIX": "default",
"VERSION": "1",
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
"KEY_FUNCTION": "util.memcache.safe_key",
"LOCATION": "localhost:11211"
},
"general": {
"KEY_PREFIX": "general",
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
"KEY_FUNCTION": "util.memcache.safe_key",
"LOCATION": "localhost: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": "localhost:11211"
},
"staticfiles": {
"KEY_PREFIX": "staticfiles_general",
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
"KEY_FUNCTION": "util.memcache.safe_key",
"LOCATION": "localhost:11211"
},
"configuration": {
"KEY_PREFIX": "configuration",
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
"KEY_FUNCTION": "util.memcache.safe_key",
"LOCATION": "localhost:11211"
},
"celery": {
"KEY_PREFIX": "celery",
"TIMEOUT": "7200",
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
"KEY_FUNCTION": "util.memcache.safe_key",
"LOCATION": "localhost:11211"
},
"course_structure_cache": {
"KEY_PREFIX": "course_structure",
"TIMEOUT": "7200",
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
"KEY_FUNCTION": "util.memcache.safe_key",
"LOCATION": "localhost:11211"
}
}
}