-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.json
247 lines (247 loc) · 6.93 KB
/
app.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
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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
{
"addons": [
"heroku-postgresql:hobby-dev",
"newrelic:wayne",
"rediscloud:30"
],
"buildpacks": [
{
"url": "https://github.com/heroku/heroku-buildpack-nodejs"
},
{
"url": "https://github.com/heroku/heroku-buildpack-python"
},
{
"url": "https://github.com/heroku/heroku-buildpack-pgbouncer"
},
{
"url": "https://github.com/heroku/heroku-buildpack-nginx"
}
],
"description": "MIT ODL Video Service",
"env": {
"ALLOWED_HOSTS": {
"default": "['*']",
"description": "Array of allowed hostnames"
},
"DROPBOX_KEY": {
"default": "",
"description": "Dropbox app key for uploads/downloads",
"required": true
},
"OPENEDX_API_CLIENT_ID": {
"description": "Client ID value for getting edX access_token",
"required": false
},
"OPENEDX_API_CLIENT_ID": {
"description": "Client secret value for getting edX access_token",
"required": false
},
"FEATURE_RETRANSCODE_ENABLED": {
"description": "Enable retranscoding of videos",
"required": false
},
"FIELD_ENCRYPTION_KEY": {
"description": "Base46 encoded encryption key for encrypted DB fields",
}
"GA_DIMENSION_CAMERA": {
"default": "",
"description": "Google Analytics custom dimension number for tracking camera angle",
"required": false
},
"GA_KEYFILE_JSON": {
"description": "Google Analytics service account keyfile as JSON string",
"required": true
},
"GA_TRACKING_ID": {
"default": "",
"description": "Google Analytics Tracking ID",
"required": false
},
"GA_VIEW_ID": {
"description": "Google Analytics id for view containing video analytics",
"required": true
},
"MAILGUN_KEY": {
"description": "The token for authenticating against the Mailgun API",
"required": true
},
"MAILGUN_URL": {
"description": "The url for the Mailgun API",
"required": true
},
"MOIRA_CACHE_TIMEOUT": {
"description": "The expiration for per-user moira cache in seconds",
"required": false
},
"ODL_VIDEO_ADMIN_EMAIL": {
"description": "E-mail to send 500 reports to.",
"required": false
},
"ODL_VIDEO_DB_CONN_MAX_AGE": {
"required": true,
"value": "0"
},
"ODL_VIDEO_DB_DISABLE_SSL": {
"required": true,
"value": "true"
},
"ODL_VIDEO_EMAIL_HOST": {
"description": "Outgoing e-mail settings",
"required": false
},
"ODL_VIDEO_EMAIL_PASSWORD": {
"description": "Outgoing e-mail settings",
"required": false
},
"ODL_VIDEO_EMAIL_PORT": {
"description": "Outgoing e-mail settings",
"required": false,
"value": "587"
},
"ODL_VIDEO_EMAIL_TLS": {
"description": "Outgoing e-mail settings",
"required": false,
"value": "True"
},
"ODL_VIDEO_EMAIL_USER": {
"description": "Outgoing e-mail settings",
"required": false
},
"ODL_VIDEO_ENVIRONMENT": {
"description": "The execution environment that the app is in (e.g. dev, staging, prod)"
},
"ODL_VIDEO_FROM_EMAIL": {
"description": "default return address for email sent from the application",
"value": "MIT ODL Video Service <webmaster@localhost>"
},
"ODL_VIDEO_BASE_URL": {
"description": "Application base URL",
"required": true
},
"ODL_VIDEO_LOG_FILE": {
"description": "Log file for Django application messages, as alternative to default stderr",
"required": false
},
"ODL_VIDEO_LOG_LEVEL": {
"description": "Logging level for the application",
"required": true,
"value": "INFO"
},
"ODL_VIDEO_SECURE_SSL_REDIRECT": {
"description": "Application-level SSL redirect setting.",
"required": false,
"value": "True"
},
"ODL_VIDEO_SUPPORT_EMAIL": {
"description": "ODL Video Service support email",
"required": true
},
"NEW_RELIC_APP_NAME": {
"default": "ODL Video Service",
"description": "Application identifier in New Relic."
},
"NODE_MODULES_CACHE": {
"description": "If false, disables the node_modules cache to fix yarn install",
"value": "false"
},
"PAGE_SIZE_QUERY_PARAM": {
"description": "Request parameter to specify paging size",
"required": "false"
},
"PAGE_SIZE_MAXIMUM": {
"description": "Maximum page size allowed",
"required": "false"
},
"PAGE_SIZE_COLLECTIONS": {
"description": "Default collection page size",
"required": "false"
},
"PGBOUNCER_DEFAULT_POOL_SIZE": {
"value": "50"
},
"PGBOUNCER_MIN_POOL_SIZE": {
"value": "5"
},
"REDIS_MAX_CONNECTIONS": {
"description": "Max number of connections to allow to redis",
"required": "false"
},
"SCHEDULE_RETRANSCODE_FREQUENCY": {
"description": "How often to check for scheduled retranscodes",
"required": "false"
},
"SECRET_KEY": {
"description": "Django secret key.",
"generator": "secret"
},
"SENTRY_DSN": {
"description": "The connection settings for Sentry"
},
"SENTRY_LOG_LEVEL": {
"description": "The log level for Sentry",
"required": false
},
"STATUS_TOKEN": {
"description": "Token to access the status API.",
"required": true
},
"LECTURE_CAPTURE_USER": {
"description": "Owner of LectureCapture collections",
"required": true
},
"MIT_WS_CERTIFICATE": {
"description": "X509 certificate as a string",
"required": true
},
"MIT_WS_PRIVATE_KEY": {
"description": "X509 private key as a string",
"required": true
},
"UNSORTED_COLLECTION": {
"description": "Name/slug of the default collection for bad lecture capture video filenames",
"required": false
},
"YT_PROJECT_ID": {
"description": "YouTube project ID",
"required": false
},
"YT_CLIENT_ID": {
"description": "YouTube client ID",
"required": true
},
"YT_CLIENT_SECRET": {
"description": "YouTube client secret",
"required": true
},
"YT_ACCESS_TOKEN": {
"description": "YouTube access token",
"required": true
},
"YT_REFRESH_TOKEN": {
"description": "YouTube refresh token",
"required": true
},
"YT_UPLOAD_FREQUENCY": {
"description": "How often to run the upload_youtube_videos task, in seconds",
"required": false
},
"YT_UPLOAD_LIMIT": {
"description": "Max YouTube videos to upload per task run (should not exceed 100/day total)",
"required": false
}
},
"keywords": [
"Django",
"Python",
"MIT",
"Office of Digital Learning"
],
"name": "odl-video-service",
"repository": "https://github.com/mitodl/odl-video-service",
"scripts": {
"postdeploy": "./manage.py migrate"
},
"success_url": "/",
"website": "https://github.com/mitodl/odl-video-service"
}