-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.dist
71 lines (63 loc) · 2.14 KB
/
.env.dist
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
68
69
70
71
# Warren API
# -- uncomment to add debug information while working on the API
# WARREN_DEBUG=True
WARREN_API_SERVER_PORT=8100
WARREN_LRS_HOSTS=http://ralph:8200
WARREN_LRS_AUTH_BASIC_USERNAME=ralph
WARREN_LRS_AUTH_BASIC_PASSWORD=secret
WARREN_API_DB_ENGINE=postgresql
WARREN_API_DB_HOST=postgresql
WARREN_API_DB_NAME=warren-api
WARREN_API_DB_USER=fun
WARREN_API_DB_PASSWORD=pass
WARREN_API_DB_PORT=5432
WARREN_API_TEST_DB_NAME=test-warren-api
WARREN_ALLOWED_HOSTS=["http://localhost:8090"]
# Warren XI
WARREN_XI_DEFAULT_LANG=fr
WARREN_XI_LMS_BASE_URL=https://lms.example.com
WARREN_XI_LMS_API_TOKEN=yourLMSAPItoken
WARREN_XI_LMS_REQUEST_TIMEOUT=60.0
# Warren App
DJANGO_SETTINGS_MODULE=warren.settings
DJANGO_CONFIGURATION=Development
WARREN_APP_SECRET_KEY=ThisIsAnExampleKeyForDevPurposeOnly
WARREN_APP_DB_HOST=postgresql
WARREN_APP_DB_NAME=warren-app
WARREN_APP_DB_USER=fun
WARREN_APP_DB_PASSWORD=pass
WARREN_APP_DB_PORT=5432
WARREN_APP_SIGNING_KEY=SigningKeyToChange__NOT_SUITABLE_FOR_PRODUCTION
WARREN_APP_SIGNING_ALGORITHM=HS256
WARREN_APP_ACCESS_TOKEN_LIFETIME=300
WARREN_APP_REFRESH_TOKEN_LIFETIME=86400
WARREN_APP_LTI_ACCESS_TOKEN_LIFETIME=86400
WARREN_APP_ALLOWED_HOSTS=localhost
# LTI Development
WARREN_APP_LTI_ROUTES=video
WARREN_APP_LTI_LIS_PERSON_CONTACT_EMAIL_PRIMARY=johndoe@example.com
WARREN_APP_LTI_USER_ID=1234
WARREN_APP_LTI_CONTEXT_ID=course-v1:openfun+mathematics101+session01
WARREN_APP_LTI_CONTEXT_TITLE="Mathematics 101"
WARREN_APP_LTI_ROLES=teacher
WARREN_APP_LTI_LAUNCH_PRESENTATION_LOCALE=fr
WARREN_APP_LTI_TOOL_CONSUMER_INSTANCE_NAME=FUN
WARREN_APP_LTI_TOOL_CONSUMER_INFO_PRODUCT_FAMILY_CODE=edx
# Warren Frontend
WARREN_API_ROOT_URL=http://localhost:8100
WARREN_APP_ROOT_URL=http://localhost:8090
# Python
PYTHONPATH=/app
# Postgresql configuration
POSTGRES_DB=warren-app
POSTGRES_USER=fun
POSTGRES_PASSWORD=pass
# Ralph LRS
RALPH_AUTH_FILE=/app/.ralph/auth.json
RALPH_BACKENDS__LRS__ES__HOSTS=http://elasticsearch:9200
RALPH_BACKENDS__LRS__ES__DEFAULT_INDEX=statements
RALPH_RUNSERVER_PORT=8200
# Sentry
# WARREN_SENTRY_DSN=https://[email protected]/1234567
# WARREN_EXECUTION_ENVIRONMENT=development
# WARREN_SENTRY_API_TRACES_SAMPLE_RATE=1.0