-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathapp.json
68 lines (68 loc) · 2.04 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
{
"name": "CRWA Flagging Website",
"description": "Web server for the Charles River Watershed Association's E. coli prediction service.",
"buildpacks": [
{ "url": "heroku/python" }
],
"scripts": { "postdeploy": "flask update-db" },
"addons": [
"scheduler",
"mailgun:starter",
"logtail:free",
{
"plan": "heroku-postgresql:essential-0",
"as": "DATABASE"
},
{
"plan": "heroku-redis:mini",
"as": "REDIS",
"options": { "maxmemory_policy": "allkeys-lru" }
}
],
"env": {
"BASIC_AUTH_PASSWORD": {
"description": "Credentials for the admin panel."
},
"BASIC_AUTH_USERNAME": {
"value": "admin",
"description": "Credentials for the admin panel."
},
"FLASK_ENV": {
"value": "production",
"description": "Set to 'demo' to run the demo version of the website."
},
"HOBOLINK_PASSWORD": { "required": false },
"HOBOLINK_TOKEN": { "required": false },
"HOBOLINK_USERNAME": { "required": false },
"MAPBOX_ACCESS_TOKEN": { "required": false },
"TWITTER_API_KEY": { "required": false },
"TWITTER_API_KEY_SECRET": { "required": false },
"TWITTER_ACCESS_TOKEN": { "required": false },
"TWITTER_ACCESS_TOKEN_SECRET": { "required": false },
"MAIL_USERNAME": {
"description": "SMTP credentials.",
"required": false
},
"MAIL_PASSWORD": {
"description": "SMTP credentials.",
"required": false
},
"MAIL_ERROR_ALERTS_TO": {
"description": "Delimit multiple emails with semicolons.",
"required": false
},
"MAIL_DATABASE_EXPORTS_TO": {
"description": "Delimit multiple emails with semicolons.",
"required": false
},
"SECRET_KEY": { "generator": "secret" },
"SEND_TWEETS": {
"description": "If false, then 'flask update-website' doesn't send tweets.",
"value": "false"
},
"USE_CELERY": {
"value": "true",
"description": "If you have too many dynos, you can unhook tasks from the worker by setting this to 'false'."
}
}
}