forked from mesosphere/cd-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
marathon.json
37 lines (37 loc) · 940 Bytes
/
marathon.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
{
"container": {
"docker": {
"image": "mesosphere/cd-demo-app:latest",
"network": "BRIDGE",
"portMappings": [
{
"containerPort": 4000,
"protocol": "tcp"
}
]
},
"type": "DOCKER"
},
"cpus": 0.1,
"healthChecks": [
{
"gracePeriodSeconds": 600,
"intervalSeconds": 30,
"maxConsecutiveFailures": 2,
"portIndex": 0,
"protocol": "TCP",
"timeoutSeconds": 10
}
],
"id": "cd-demo-app",
"instances": 1,
"labels": {
"HAPROXY_0_VHOST": "sunil-30e-publicsl-b34a2yhj5mmu-601236417.us-west-2.elb.amazonaws.com",
"HAPROXY_GROUP": "external",
"lastChangedBy": "sunil@mesosphere.io"
},
"mem": 128,
"upgradeStrategy": {
"minimumHealthCapacity": 0
}
}