-
Notifications
You must be signed in to change notification settings - Fork 24
/
app.json
36 lines (36 loc) · 1.06 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
{
"healthchecks": {
"web": [
{
"type": "startup",
"name": "framerail-init",
"description": "Checks if the web server has started",
"port": 3000,
"attempts": 3
},
{
"type": "liveness",
"name": "framerail-healthy",
"description": "Checks if the web server can start serving requests",
"command": ["curl", "-If", "http://localhost:3000/"],
"attempts": 3
}
],
"api": [
{
"type": "startup",
"name": "deepwell-init",
"description": "Checks if API server has started",
"port": 2747,
"attempts": 3
},
{
"type": "liveness",
"name": "deepwelly-healthy",
"description": "Checks if the API server can accept requests",
"command": ["/bin/deepwell-health-check"],
"attempts": 3
}
]
}
}