-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.json
62 lines (62 loc) · 1.99 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
{
"name": "Heroku Dyno Monitor",
"description": "Detect, alert and trigger actions on Rxx, Hxx errors in your Heroku App",
"keywords": [
"productivity",
"python",
"django",
"dyno"
],
"website": "https://github.com/carnot-technologies/dyno-monitor",
"repository": "https://github.com/carnot-technologies/dyno-monitor",
"logo": "https://simpleicons.org/icons/django.svg",
"success_url": "/admin",
"scripts": {
"postdeploy": "bash initialize.sh"
},
"env": {
"HEROKU_API_KEY": {
"required": true,
"description": "Your heroku account API key used for detecting apps and reading log streams. You will find your API Key under the account settings page"
},
"DJANGO_SUPERUSER_USERNAME": {
"required": true,
"value": "admin",
"description": "Username for the admin account. Admin login is required to access the admin interface from where you can manage your alerts"
},
"DJANGO_SUPERUSER_PASSWORD": {
"required": true,
"value": "abcd12345",
"description": "Password for the admin account. Must be at least 8 characters long"
},
"DJANGO_SUPERUSER_EMAIL": {
"required": true,
"value": "admin@localhost",
"description": "Must be a valid email address. If superuser creation fails, you will have to create one manually"
},
"RUN_WITHIN_WEB": {
"required": false,
"value": "0",
"description": "Possible values: 0/1. If 1, the monitor script will run within the web dyno. In such a case, the `monitor` dyno must be switched off. However this should be zero if you scale the web dyno to more than 1"
},
"LOGGING_LEVEL": {
"required": false,
"value": "INFO",
"description": "Default: INFO. This determines the logging level of your app"
}
},
"image": "heroku/python",
"addons": [
{
"plan": "heroku-postgresql:hobby-dev"
},
{
"plan": "heroku-redis:hobby-dev"
}
],
"buildpacks": [
{
"url": "heroku/python"
}
]
}