forked from MozillaFoundation/foundation.mozilla.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
52 lines (52 loc) · 1.98 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
{
"name": "Mozilla Foundation site",
"description": "Mozilla Foundation site",
"addons": [
"heroku-postgresql:hobby-dev"
],
"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": "'none'",
"CSP_FRAME_SRC": "'self' https://js.tito.io",
"CSP_FONT_SRC": "'self' https://fonts.gstatic.com https://fonts.googleapis.com https://code.cdn.mozilla.net",
"CSP_IMG_SRC": "* data:",
"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",
"CSP_STYLE_SRC": "'self' 'unsafe-inline' https://code.cdn.mozilla.net https://fonts.googleapis.com https://platform.twitter.com https://js.tito.io",
"NPM_CONFIG_PRODUCTION": "true",
"REVIEW_APP": "True",
"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"
}
}