-
Notifications
You must be signed in to change notification settings - Fork 2
/
app.json
40 lines (40 loc) · 829 Bytes
/
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
{
"id": "px-counter",
"container": {
"type": "DOCKER",
"docker": {
"image": "binocarlos/px-counter:latest",
"parameters": [{
"key": "volume-driver",
"value": "pxd"
},
{
"key": "volume",
"value": "app-prod:/data"
}],
"network": "BRIDGE",
"portMappings": [
{ "hostPort": 0, "containerPort": 8080, "servicePort": 10000 }
],
"forcePullImage": true
}
},
"env": {
"FILEPATH": "/data/items.json"
},
"instances": 1,
"cpus": 0.1,
"mem": 256,
"healthChecks": [{
"protocol": "HTTP",
"path": "/",
"portIndex": 0,
"timeoutSeconds": 10,
"gracePeriodSeconds": 10,
"intervalSeconds": 2,
"maxConsecutiveFailures": 10
}],
"labels":{
"HAPROXY_GROUP":"external"
}
}