forked from binocarlos/portworx-dcos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.test.json
41 lines (41 loc) · 861 Bytes
/
app.test.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
{
"id": "px-counter-test",
"container": {
"type": "DOCKER",
"docker": {
"image": "binocarlos/px-counter:latest",
"parameters": [{
"key": "volume-driver",
"value": "pxd"
},
{
"key": "volume",
"value": "app-ci-test:/data"
}],
"network": "BRIDGE",
"portMappings": [
{ "hostPort": 0, "containerPort": 8080, "servicePort": 10001 }
],
"forcePullImage": true
}
},
"env": {
"FILEPATH": "/data/items.json",
"NODE_ENV": "test"
},
"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"
}
}