-
Notifications
You must be signed in to change notification settings - Fork 15
/
.env.dist
177 lines (142 loc) · 6.7 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# Configuration
RALPH_APP_DIR=/app/.ralph
# Uncomment lines (by removing # characters at the beginning of target lines)
# to define environment variables associated to the backend(s) you need.
# LDP data backend
#
# You need to generate an API token for your OVH's account and fill the service
# name and stream id you are targeting.
#
# Note that defining the following environment variables is not required. We
# define them for convenience purpose during development, but they can be
# passed as CLI options.
# RALPH_BACKENDS__DATA__LDP__APPLICATION_KEY=
# RALPH_BACKENDS__DATA__LDP__APPLICATION_SECRET=
# RALPH_BACKENDS__DATA__LDP__CONSUMER_KEY=
# RALPH_BACKENDS__DATA__LDP__DEFAULT_STREAM_ID=
# RALPH_BACKENDS__DATA__LDP__ENDPOINT=
# RALPH_BACKENDS__DATA__LDP__REQUEST_TIMEOUT=
# RALPH_BACKENDS__DATA__LDP__SERVICE_NAME=
# Swift data backend
# RALPH_BACKENDS__DATA__SWIFT__AUTH_URL=http://swift:35357/v3/
# RALPH_BACKENDS__DATA__SWIFT__USERNAME=demo
# RALPH_BACKENDS__DATA__SWIFT__PASSWORD=demo
# RALPH_BACKENDS__DATA__SWIFT__IDENTITY_API_VERSION=3
# RALPH_BACKENDS__DATA__SWIFT__TENANT_ID=cd238e84310a46e58af7f1d515887d88
# RALPH_BACKENDS__DATA__SWIFT__TENANT_NAME=RegionOne
# RALPH_BACKENDS__DATA__SWIFT__PROJECT_DOMAIN_NAME=Default
# RALPH_BACKENDS__DATA__SWIFT__REGION_NAME=RegionOne
# RALPH_BACKENDS__DATA__SWIFT__OBJECT_STORAGE_URL=http://swift:8080/v1/KEY_cd238e84310a46e58af7f1d515887d88/test_container
# RALPH_BACKENDS__DATA__SWIFT__USER_DOMAIN_NAME=Default
# RALPH_BACKENDS__DATA__SWIFT__DEFAULT_CONTAINER=
# RALPH_BACKENDS__DATA__SWIFT__LOCALE_ENCODING=Default
# S3 data backend
# RALPH_BACKENDS__DATA__S3__ACCESS_KEY_ID=
# RALPH_BACKENDS__DATA__S3__SECRET_ACCESS_KEY=
# RALPH_BACKENDS__DATA__S3__SESSION_TOKEN=
# RALPH_BACKENDS__DATA__S3__ENDPOINT_URL=
# RALPH_BACKENDS__DATA__S3__DEFAULT_REGION=
# RALPH_BACKENDS__DATA__S3__DEFAULT_BUCKET_NAME=
# RALPH_BACKENDS__DATA__S3__LOCALE_ENCODING=
# RALPH_BACKENDS__DATA__S3__READ_CHUNK_SIZE=
# RALPH_BACKENDS__DATA__S3__WRITE_CHUNK_SIZE=
# ES data backend
RALPH_BACKENDS__DATA__ES__HOSTS=http://elasticsearch:9200
RALPH_BACKENDS__DATA__ES__DEFAULT_INDEX=statements
# RALPH_BACKENDS__DATA__ES__ALLOW_YELLOW_STATUS=False
# RALPH_BACKENDS__DATA__ES__CLIENT_OPTIONS__ca_certs=False
# RALPH_BACKENDS__DATA__ES__CLIENT_OPTIONS__verify_certs=False
# RALPH_BACKENDS__DATA__ES__LOCALE_ENCODING=utf8
# RALPH_BACKENDS__DATA__ES__POINT_IN_TIME_KEEP_ALIVE=1m
# RALPH_BACKENDS__DATA__ES__READ_CHUNK_SIZE=500
# RALPH_BACKENDS__DATA__ES__REFRESH_AFTER_WRITE="false"
# RALPH_BACKENDS__DATA__ES__WRITE_CHUNK_SIZE=500
RALPH_BACKENDS__DATA__ES__TEST_HOSTS=http://elasticsearch:9200
RALPH_BACKENDS__DATA__ES__TEST_INDEX=test-index-foo
RALPH_BACKENDS__DATA__ES__TEST_FORWARDING_INDEX=test-index-foo-2
# ES lrs backend
# Same options as for the ES data backend, however they are prefixed with
# RALPH_BACKENDS__LRS__ES__ instead.
RALPH_BACKENDS__LRS__ES__HOSTS=http://elasticsearch:9200
# MONGO data backend
RALPH_BACKENDS__DATA__MONGO__CONNECTION_URI=mongodb://mongo:27017/
RALPH_BACKENDS__DATA__MONGO__DEFAULT_COLLECTION=foo
RALPH_BACKENDS__DATA__MONGO__DEFAULT_DATABASE=statements
# RALPH_BACKENDS__DATA__MONGO__CLIENT_OPTIONS__document_class=
# RALPH_BACKENDS__DATA__MONGO__CLIENT_OPTIONS__tz_aware=False
# RALPH_BACKENDS__DATA__MONGO__LOCALE_ENCODING=utf8
# RALPH_BACKENDS__DATA__MONGO__READ_CHUNK_SIZE=500
# RALPH_BACKENDS__DATA__MONGO__WRITE_CHUNK_SIZE=500
RALPH_BACKENDS__DATA__MONGO__TEST_COLLECTION=foo
RALPH_BACKENDS__DATA__MONGO__TEST_FORWARDING_COLLECTION=foo-2
RALPH_BACKENDS__DATA__MONGO__TEST_DATABASE=statements
RALPH_BACKENDS__DATA__MONGO__TEST_CONNECTION_URI=mongodb://mongo:27017/
# MONGO lrs backend
# Same options as for the MONGO data backend, however they are prefixed with
# RALPH_BACKENDS__LRS__MONGO__ instead. Example:
# RALPH_BACKENDS__LRS__MONGO__CONNECTION_URI=mongodb://mongo:27017/
# CLICKHOUSE data backend
RALPH_BACKENDS__DATA__CLICKHOUSE__HOST=clickhouse
RALPH_BACKENDS__DATA__CLICKHOUSE__PORT=8123
RALPH_BACKENDS__DATA__CLICKHOUSE__DATABASE=xapi
RALPH_BACKENDS__DATA__CLICKHOUSE__EVENT_TABLE_NAME=xapi_events_all
# RALPH_BACKENDS__DATA__CLICKHOUSE__USERNAME=
# RALPH_BACKENDS__DATA__CLICKHOUSE__PASSWORD=
# RALPH_BACKENDS__DATA__CLICKHOUSE__CLIENT_OPTIONS__date_time_input_format=
# RALPH_BACKENDS__DATA__CLICKHOUSE__LOCALE_ENCODING=utf8
# RALPH_BACKENDS__DATA__CLICKHOUSE__READ_CHUNK_SIZE=500
# RALPH_BACKENDS__DATA__CLICKHOUSE__WRITE_CHUNK_SIZE=500
RALPH_BACKENDS__DATA__CLICKHOUSE__TEST_DATABASE=test_statements
RALPH_BACKENDS__DATA__CLICKHOUSE__TEST_HOST=clickhouse
RALPH_BACKENDS__DATA__CLICKHOUSE__TEST_PORT=8123
RALPH_BACKENDS__DATA__CLICKHOUSE__TEST_TABLE_NAME=test_xapi_events_all
# CLICKHOUSE lrs backend
# Same options as for the CLICKHOUSE data backend, however they are prefixed with
# RALPH_BACKENDS__LRS__CLICKHOUSE__ instead. Example:
# RALPH_BACKENDS__LRS__CLICKHOUSE__HOST=clickhouse
# Additional options specific to the CLICKHOUSE lrs backend:
# RALPH_BACKENDS__LRS__CLICKHOUSE__IDS_CHUNK_SIZE=8123
# FS data backend
# RALPH_BACKENDS__DATA__FS__DEFAULT_DIRECTORY_PATH=.
# RALPH_BACKENDS__DATA__FS__DEFAULT_QUERY_STRING=*
# RALPH_BACKENDS__DATA__FS__LOCALE_ENCODING=utf8
# RALPH_BACKENDS__DATA__FS__READ_CHUNK_SIZE=4096
# RALPH_BACKENDS__DATA__FS__WRITE_CHUNK_SIZE=4096
# FS lrs backend
# Same options as for the FS data backend, however they are prefixed with
# RALPH_BACKENDS__LRS__FS__ instead. Example:
# RALPH_BACKENDS__LRS__FS__DEFAULT_DIRECTORY_PATH=.
# Additional options specific to the FS lrs backend:
# RALPH_BACKENDS__LRS__FS__DEFAULT_LRS_FILE=fs_lrs.jsonl
# LRS HTTP backend
RALPH_BACKENDS__DATA__LRS__BASE_URL=http://ralph:[email protected]:8100/
RALPH_BACKENDS__DATA__LRS__USERNAME=ralph
RALPH_BACKENDS__DATA__LRS__PASSWORD=secret
RALPH_BACKENDS__DATA__LRS__HEADERS__X_EXPERIENCE_API_VERSION=1.0.3
RALPH_BACKENDS__DATA__LRS__HEADERS__CONTENT_TYPE=application/json
RALPH_BACKENDS__DATA__LRS__STATUS_ENDPOINT=/__heartbeat__
RALPH_BACKENDS__DATA__LRS__STATEMENTS_ENDPOINT=/xAPI/statements
# Sentry
# RALPH_SENTRY_DSN=
# RALPH_EXECUTION_ENVIRONMENT=development
# RALPH_SENTRY_CLI_TRACES_SAMPLE_RATE=0.1
# RALPH_SENTRY_LRS_TRACES_SAMPLE_RATE=0.1
# RALPH_SENTRY_IGNORE_HEALTH_CHECKS=True
# Converter
# RALPH_CONVERTER_EDX_XAPI_UUID_NAMESPACE=
# LRS API
RALPH_RUNSERVER_AUTH_BACKENDS=basic
RALPH_RUNSERVER_AUTH_OIDC_AUDIENCE=http://localhost:8100
RALPH_RUNSERVER_AUTH_OIDC_ISSUER_URI=http://learning-analytics-playground_keycloak_1:8080/auth/realms/fun-mooc
RALPH_RUNSERVER_BACKEND=es
RALPH_RUNSERVER_HOST=0.0.0.0
RALPH_RUNSERVER_MAX_SEARCH_HITS_COUNT=100
RALPH_RUNSERVER_POINT_IN_TIME_KEEP_ALIVE=1m
RALPH_RUNSERVER_PORT=8100
# Authentication
# RALPH_AUTH_FILE=/app/.ralph/auth.json
# RALPH_AUTH_CACHE_MAX_SIZE=100
# RALPH_AUTH_CACHE_TTL=3600
# Security
RALPH_LRS_RESTRICT_BY_AUTHORITY=False
RALPH_LRS_RESTRICT_BY_SCOPE=False