-
Notifications
You must be signed in to change notification settings - Fork 11
/
production
26 lines (26 loc) · 1.05 KB
/
production
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
{% if RICHIE_FACTORY_REPOSITORY %}
# Caches settings - makes debugging faster
# TODO Configure to use the redis service
CACHE_DEFAULT_BACKEND=django.core.cache.backends.locmem.LocMemCache
CACHE_DEFAULT_LOCATION=""
CACHE_DEFAULT_OPTIONS={}
DJANGO_SETTINGS_MODULE={{ RICHIE_FACTORY_SITE }}.tutor
{% else %}
DJANGO_SETTINGS_MODULE=tutor
{% endif %}
DJANGO_CONFIGURATION=TutorProduction
DJANGO_SECRET_KEY={{ RICHIE_SECRET_KEY}}
DJANGO_ALLOWED_HOSTS=richie,{{ RICHIE_HOST }}
DB_ENGINE=django.db.backends.mysql
DB_NAME={{ RICHIE_MYSQL_DATABASE }}
DB_USER={{ RICHIE_MYSQL_USERNAME }}
DB_PASSWORD={{ RICHIE_MYSQL_PASSWORD }}
DB_HOST={{ MYSQL_HOST }}
DB_PORT={{ MYSQL_PORT }}
# Note: richie does not support ES authentication, yet
RICHIE_ES_HOST={{ ELASTICSEARCH_HOST }}
RICHIE_ES_INDICES_PREFIX={{ RICHIE_ELASTICSEARCH_INDICES_PREFIX }}
EDX_BASE_URL={% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ LMS_HOST }}
EDX_JS_BACKEND=openedx-hawthorn
AUTHENTICATION_BASE_URL={% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ LMS_HOST }}
AUTHENTICATION_BACKEND=openedx-hawthorn