forked from MozillaFoundation/donate-wagtail
-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.json
49 lines (49 loc) · 1.73 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
{
"name": "donate-wagtail",
"description": "Donate platform",
"repository": "https://github.com/mozilla/donate-wagtail",
"addons": ["heroku-postgresql:hobby-dev", "heroku-redis:hobby-dev"],
"buildpacks": [
{
"url": "heroku/nodejs"
},
{
"url": "heroku/python"
}
],
"formation": {
"web": {
"quantity": 1
},
"worker": {
"quantity": 1
}
},
"env": {
"DJANGO_SECRET_KEY": {
"generator": "secret"
},
"DJANGO_SETTINGS_MODULE": "donate.settings",
"BRAINTREE_USE_SANDBOX": "True",
"CONTENT_TYPE_NO_SNIFF": "True",
"DEBUG": "False",
"NPM_CONFIG_PRODUCTION": "true",
"USE_S3": "True",
"SET_HSTS": "True",
"SSL_REDIRECT": "True",
"X_FRAME_OPTIONS": "DENY",
"XSS_PROTECTION": "True",
"CSRF_COOKIE_SECURE": "True",
"SESSION_COOKIE_SECURE": "True",
"CSP_SCRIPT_SRC": "'self' 'unsafe-inline' 'unsafe-eval' www.google-analytics.com js.braintreegateway.com assets.braintreegateway.com www.paypalobjects.com c.paypal.com www.paypal.com",
"CSP_IMG_SRC": "* data:",
"CSP_FONT_SRC": "'self' fonts.googleapis.com fonts.gstatic.com",
"CSP_STYLE_SRC": "'self' 'unsafe-inline' fonts.googleapis.com fonts.gstatic.com",
"CSP_FRAME_SRC": "'self' assets.braintreegateway.com c.paypal.com *.paypal.com",
"CSP_CONNECT_SRC": "'self' api.sandbox.braintreegateway.com client-analytics.sandbox.braintreegateway.com api.braintreegateway.com client-analytics.braintreegateway.com *.braintree-api.com www.paypal.com www.google-analytics.com https://www.mozilla.org/en-US/newsletter/"
},
"scripts": {
"postdeploy": "python manage.py load_fake_data && python manage.py review_app_admin",
"pr-predestroy": "python manage.py clear_fake_data"
}
}