-
Notifications
You must be signed in to change notification settings - Fork 153
/
app.json
55 lines (55 loc) · 2.81 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
{
"name": "Mozilla Foundation site",
"description": "Mozilla Foundation site",
"stack": "heroku-22",
"addons": [
"heroku-postgresql:basic --version=15"
],
"formation": {
"web": {
"quantity": 1
}
},
"env": {
"DJANGO_SECRET_KEY": {
"generator": "secret"
},
"DEBUG": "False",
"CORS_ALLOWED_ORIGINS": "*",
"XSS_PROTECTION": "True",
"CONTENT_TYPE_NO_SNIFF": "True",
"SET_HSTS": "True",
"SSL_REDIRECT": "True",
"X_FRAME_OPTIONS": "DENY",
"USE_S3": "True",
"PULSE_API_DOMAIN": "https://network-pulse-api-production.herokuapp.com",
"PULSE_DOMAIN": "https://www.mozillapulse.org",
"CSP_CHILD_SRC": "'self' https://www.youtube.com https://www.youtube-nocookie.com",
"CSP_CONNECT_SRC": "*",
"CSP_DEFAULT_SRC": "'none'",
"CSP_FRAME_ANCESTORS": "'self'",
"CSP_FRAME_SRC": "'self' https://js.tito.io https://www.google.com/recaptcha/ https://*.stripe.com https://pay.google.com https://*.paypal.com https://*.fundraiseup.com",
"CSP_FONT_SRC": "'self' https://code.cdn.mozilla.net https://*.fundraiseup.com https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/fonts/",
"CSP_IMG_SRC": "* data: blob: https://*.fundraiseup.com https://ucarecdn.com https://pay.google.com https://*.paypalobjects.com",
"CSP_MEDIA_SRC": "'self' https://s3.amazonaws.com/mofo-assets/foundation/video/",
"CSP_SCRIPT_SRC": "'self' 'unsafe-inline' https://www.google-analytics.com/analytics.js http://*.shpg.org/ https://comments.mozillafoundation.org/ https://airtable.com https://platform.twitter.com https://cdn.syndication.twimg.com https://js.tito.io https://js-plugins.tito.io/gtm.js https://*.fundraiseup.com https://*.googletagmanager.com https://mozillafoundation.tfaforms.net https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/ 'unsafe-eval' https://*.stripe.com https://m.stripe.network https://*.paypal.com https://pay.google.com https://cdn.cookielaw.org",
"CSP_STYLE_SRC": "'self' 'unsafe-inline' https://code.cdn.mozilla.net https://platform.twitter.com https://js.tito.io https://mozillafoundation.tfaforms.net https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css",
"NPM_CONFIG_PRODUCTION": "true",
"REVIEW_APP": "True",
"SECURE_CROSS_ORIGIN_OPENER_POLICY": "same-origin-allow-popups",
"SECURE_REFERRER_POLICY": "strict-origin-when-cross-origin",
"XROBOTSTAG_ENABLED": "True"
},
"buildpacks": [
{
"url": "heroku/nodejs"
},
{
"url": "heroku/python"
}
],
"scripts": {
"postdeploy": "python network-api/manage.py load_fake_data && python network-api/manage.py review_app_setup create && python network-api/manage.py review_app_admin && python network-api/manage.py sync_locale_trees",
"pr-predestroy": "python network-api/manage.py review_app_setup teardown"
}
}