-
Notifications
You must be signed in to change notification settings - Fork 2
/
app.json
425 lines (425 loc) · 13.3 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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
{
"addons": ["heroku-postgresql:hobby-dev", "newrelic:wayne", "rediscloud:30"],
"buildpacks": [
{
"url": "https://github.com/heroku/heroku-buildpack-apt"
},
{
"url": "https://github.com/heroku/heroku-buildpack-nodejs"
},
{
"url": "https://github.com/moneymeets/python-poetry-buildpack"
},
{
"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 Bootcamp e-commerce",
"env": {
"ADWORDS_CONVERSION_ID": {
"description": "Id for adwords conversion",
"required": false
},
"ALLOWED_HOSTS": {
"description": "Allowed hosts to addres DNS rebinding vulnerability",
"required": false
},
"AUTH_CHANGE_EMAIL_TTL_IN_MINUTES": {
"description": "Expiry time for a change email request, default is 1440 minutes(1 day)",
"required": false
},
"AWS_ACCESS_KEY_ID": {
"description": "AWS Access Key for S3 storage.",
"required": false
},
"AWS_SECRET_ACCESS_KEY": {
"description": "AWS Secret Key for S3 storage.",
"required": false
},
"AWS_STORAGE_BUCKET_NAME": {
"description": "S3 Bucket name.",
"required": false
},
"BOOTCAMP_ADMIN_EMAIL": {
"description": "E-mail to send 500 reports to",
"required": false
},
"BOOTCAMP_DB_CONN_MAX_AGE": {
"description": "The maximum age of database connections",
"required": true
},
"BOOTCAMP_DB_DISABLE_SSL": {
"description": "Disables SSL to postgres if set to True",
"required": false
},
"BOOTCAMP_ECOMMERCE_BASE_URL": {
"description": "The base url of this application to be used in emails",
"required": true
},
"BOOTCAMP_ECOMMERCE_EMAIL": {
"description": "Email to send ecommerce alerts to",
"required": false
},
"BOOTCAMP_ECOMMERCE_SAML_BASE_URL": {
"description": "(Optional) If provided, this base URL will be used instead of BOOTCAMP_ECOMMERCE_BASE_URL for SAML login/logout URLs",
"required": false
},
"BOOTCAMP_EMAIL_BACKEND": {
"description": "The backend for email sending",
"required": false
},
"BOOTCAMP_EMAIL_HOST": {
"description": "Outgoing e-mail host",
"required": false
},
"BOOTCAMP_EMAIL_PASSWORD": {
"description": "Outgoing e-mail password",
"required": false
},
"BOOTCAMP_EMAIL_PORT": {
"description": "Outgoing e-mail port",
"required": false
},
"BOOTCAMP_EMAIL_TLS": {
"description": "Outgoing e-mail enable TLS",
"required": false
},
"BOOTCAMP_EMAIL_USER": {
"description": "Outgoing e-mail user",
"required": false
},
"BOOTCAMP_ENVIRONMENT": {
"description": "The execution environment that the app is in (e.g. dev, staging, prod)",
"required": false
},
"BOOTCAMP_FROM_EMAIL": {
"description": "Default FROM email address",
"required": false
},
"BOOTCAMP_LOG_LEVEL": {
"description": "The logging level for the application",
"required": false
},
"BOOTCAMP_NOTIFICATION_EMAIL_BACKEND": {
"description": "The email backend for notifications",
"required": false
},
"BOOTCAMP_REPLY_TO_ADDRESS": {
"description": "E-mail to use for reply-to address of emails",
"required": false
},
"BOOTCAMP_SECURE_SSL_REDIRECT": {
"description": "Application-level SSL redirect setting",
"required": false
},
"BOOTCAMP_SUPPORT_EMAIL": {
"description": "Email address listed for customer support",
"required": false
},
"BOOTCAMP_SUPPORT_URL": {
"description": "URL for customer support",
"required": false
},
"BOOTCAMP_USE_S3": {
"description": "Use S3 for storage backend (required on Heroku)",
"required": false
},
"CACHEABLE_ENDPOINTS": {
"description": "A list of cacheable endpoints.",
"required": false
},
"CACHEABLE_ENDPOINTS_CACHE_VALUE": {
"description": "Cache-Control value for cacheable endpoints.",
"required": false
},
"CELERY_BROKER_URL": {
"description": "Where celery should get tasks, default is Redis URL",
"required": false
},
"CELERY_RESULT_BACKEND": {
"description": "Where celery should put task results, default is Redis URL",
"required": false
},
"CLOUDFRONT_DIST": {
"description": "The cloudfront distribution for the app",
"required": false
},
"CYBERSOURCE_ACCESS_KEY": {
"description": "CyberSource Access Key",
"required": false
},
"CYBERSOURCE_EXPORT_SERVICE_ADDRESS_OPERATOR": {
"description": "Whether just the name or the name and address should be used in exports verification. Refer to Cybersource docs.",
"required": false
},
"CYBERSOURCE_EXPORT_SERVICE_ADDRESS_WEIGHT": {
"description": "The weight of the address in determining whether a user passes exports checks. Refer to Cybersource docs.",
"required": false
},
"CYBERSOURCE_EXPORT_SERVICE_NAME_WEIGHT": {
"description": "The weight of the name in determining whether a user passes exports checks. Refer to Cybersource docs.",
"required": false
},
"CYBERSOURCE_EXPORT_SERVICE_SANCTIONS_LISTS": {
"description": "Additional sanctions lists to validate for exports. Refer to Cybersource docs.",
"required": false
},
"CYBERSOURCE_INQUIRY_LOG_NACL_ENCRYPTION_KEY": {
"description": "The public key to encrypt export results with for our own security purposes. Should be a base64 encoded NaCl public key.",
"required": false
},
"CYBERSOURCE_MERCHANT_ID": {
"description": "The cybersource merchant id",
"required": false
},
"CYBERSOURCE_PROFILE_ID": {
"description": "CyberSource Profile ID",
"required": false
},
"CYBERSOURCE_REFERENCE_PREFIX": {
"description": "a string prefix to identify the application in CyberSource transactions",
"required": false
},
"CYBERSOURCE_SECURE_ACCEPTANCE_URL": {
"description": "CyberSource API endpoint",
"required": false
},
"CYBERSOURCE_SECURITY_KEY": {
"description": "CyberSource API key",
"required": false
},
"CYBERSOURCE_TRANSACTION_KEY": {
"description": "The cybersource transaction key",
"required": false
},
"CYBERSOURCE_WSDL_URL": {
"description": "The URL to the cybersource WSDL",
"required": false
},
"DJANGO_LOG_LEVEL": {
"description": "The log level for Django",
"required": false
},
"EDXORG_BASE_URL": {
"description": "The base URL of the edX instance to use for logging in.",
"required": true
},
"EDXORG_CLIENT_ID": {
"description": "The OAuth client ID configured in the edX instance",
"required": true
},
"EDXORG_CLIENT_SECRET": {
"description": "The OAuth client secret configured in the edX instance",
"required": true
},
"ES_LOG_LEVEL": {
"description": "The log level for elasticsearch",
"required": false
},
"GA_TRACKING_ID": {
"description": "Google Analytics tracking ID",
"required": false
},
"GTM_TRACKING_ID": {
"description": "Google Tag Manager tracking ID",
"required": false
},
"HUBSPOT_CREATE_USER_FORM_ID": {
"description": "Form ID for Hubspot Forms API",
"required": false
},
"HUBSPOT_FOOTER_FORM_GUID": {
"description": "Form guid over hub spot for footer block.",
"required": false
},
"HUBSPOT_MAX_CONCURRENT_TASKS": {
"description": "Max number of concurrent Hubspot tasks to run",
"required": false
},
"HUBSPOT_NEW_COURSES_FORM_GUID": {
"description": "Form guid over hub spot for new courses email subscription form.",
"required": false
},
"HUBSPOT_PIPELINE_ID": {
"description": "Hubspot ecommerce pipeline id",
"required": false
},
"HUBSPOT_PORTAL_ID": {
"description": "Hub spot portal id.",
"required": false
},
"HUBSPOT_TASK_DELAY": {
"description": "Number of milliseconds to wait between consecutive Hubspot calls",
"required": false
},
"JOBMA_ACCESS_TOKEN": {
"description": "The JOBMA access token used to access their REST API",
"required": false
},
"JOBMA_BASE_URL": {
"description": "The base URL for accessing Jobma",
"required": false
},
"JOBMA_LINK_EXPIRATION_DAYS": {
"description": "The number of days for Jobma links to expire",
"required": false
},
"JOBMA_WEBHOOK_ACCESS_TOKEN": {
"description": "The Jobma access token used by us to verify that a postback came from Jobma",
"required": false
},
"MAILGUN_BATCH_CHUNK_SIZE": {
"description": "Maximum number of emails to send in a batch",
"required": false
},
"MAILGUN_BCC_TO_EMAIL": {
"description": "Email which gets BCC'd on outgoing email",
"required": false
},
"MAILGUN_FROM_EMAIL": {
"description": "Email which mail comes from",
"required": false
},
"MAILGUN_KEY": {
"description": "The token for authenticating against the Mailgun API",
"required": true
},
"MAILGUN_SENDER_DOMAIN": {
"description": "The domain to send mailgun email through",
"required": true
},
"MAILGUN_URL": {
"description": "The API url for mailfun",
"required": false
},
"MAX_FILE_UPLOAD_MB": {
"description": "The maximum size in megabytes for an uploaded file",
"required": false
},
"MEDIA_ROOT": {
"description": "Django MEDIA_ROOT setting",
"required": false
},
"MIDDLEWARE_FEATURE_FLAG_COOKIE_MAX_AGE_SECONDS": {
"description": "Maximum age for feature flag cookies",
"required": false
},
"MIDDLEWARE_FEATURE_FLAG_COOKIE_NAME": {
"description": "Feature flag cookiename",
"required": false
},
"MITOL_HUBSPOT_API_ID_PREFIX": {
"description": "Hub spot id prefix.",
"required": false
},
"MITOL_HUBSPOT_API_PRIVATE_TOKEN": {
"description": "API key for Hubspot",
"required": false
},
"MITOL_HUBSPOT_API_RETRIES": {
"description": "# times to retry a failed Hubspot API request",
"required": false
},
"NEW_RELIC_APP_NAME": {
"default": "Bootcamp e-commerce",
"description": "Application identifier in New Relic."
},
"NOVOED_API_BASE_URL": {
"description": "The base URL of the NovoEd API",
"required": false
},
"NOVOED_API_KEY": {
"description": "The NovoEd API key",
"required": false
},
"NOVOED_API_SECRET": {
"description": "The NovoEd API secret",
"required": false
},
"NOVOED_BASE_URL": {
"description": "The base URL of the NovoEd",
"required": false
},
"NOVOED_SAML_CERT": {
"description": "Contents of the SAML certificate for NovoEd ('\n' line separators)",
"required": false
},
"NOVOED_SAML_CONFIG_TTL_HOURS": {
"description": "The number of hours that the SAML config is expected to be accurate",
"required": false
},
"NOVOED_SAML_DEBUG": {
"description": "Flag indicating whether the SAML config should be set to debug mode",
"required": false
},
"NOVOED_SAML_KEY": {
"description": "Contents of the SAML key for NovoEd ('\n' line separators)",
"required": false
},
"PGBOUNCER_DEFAULT_POOL_SIZE": {
"value": "50"
},
"PGBOUNCER_MIN_POOL_SIZE": {
"value": "5"
},
"RECAPTCHA_SECRET_KEY": {
"description": "The ReCaptcha secret key",
"required": false
},
"RECAPTCHA_SITE_KEY": {
"description": "The ReCaptcha site key",
"required": false
},
"REDISCLOUD_URL": {
"description": "RedisCloud connection url",
"required": false
},
"SAML_IDP_FALLBACK_EXPIRATION_DAYS": {
"description": "The number of days to extend the SP metadata if validUntil does not exist or is in the past",
"required": false
},
"SECRET_KEY": {
"description": "Django secret key.",
"generator": "secret",
"required": false
},
"SENTRY_DSN": {
"description": "The connection settings for Sentry",
"required": false
},
"SENTRY_LOG_LEVEL": {
"description": "The log level for Sentry",
"required": false
},
"SESSION_ENGINE_BACKEND": {
"description": "The backend that will support user sessions. This should be a module within django.contrib.sessions.backends. Possible values: signed_cookies, db, cached_db, cache, file. (https://docs.djangoproject.com/en/3.1/topics/http/sessions/#configuring-the-session-engine)",
"required": false
},
"SITE_NAME": {
"description": "The site name for the app",
"required": false
},
"SL_TRACKING_ID": {
"description": "The SL tracking ID",
"required": false
},
"USE_X_FORWARDED_HOST": {
"description": "Set HOST header to original domain accessed by user",
"required": false
},
"ZENDESK_HELP_WIDGET_ENABLED": {
"description": "Enable Zendesk help widget",
"required": false
},
"ZENDESK_HELP_WIDGET_KEY": {
"description": "Help Widget Key",
"required": false
}
}
}