Skip to content

Commit 5f10c46

Browse files
committed
Merge pull request #15 from Capgemini/marathon-file
Marathon file.
2 parents 32706a2 + 7440246 commit 5f10c46

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

marathon.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"id": "mesos-ui",
3+
"instances": 1,
4+
"cpus": 0.1,
5+
"mem": 512,
6+
"env": {
7+
"MESOS_ENDPOINT": "http://127.0.0.1:5050",
8+
"MARATHON_ENDPOINT": "http://127.0.0.1:8080"
9+
},
10+
"labels": {
11+
"DCOS_PACKAGE_NAME": "mesos-ui",
12+
"DCOS_PACKAGE_IS_FRAMEWORK": "false",
13+
"DCOS_PACKAGE_VERSION": "0.1.0",
14+
},
15+
"healthChecks": [
16+
{
17+
"gracePeriodSeconds": 120,
18+
"intervalSeconds": 15,
19+
"maxConsecutiveFailures": 10,
20+
"path": "/",
21+
"portIndex": 0,
22+
"protocol": "HTTP",
23+
"timeoutSeconds": 5
24+
}
25+
],
26+
"container": {
27+
"type": "DOCKER",
28+
"docker": {
29+
"image": "capgemini/mesos-ui",
30+
"network": "BRIDGE",
31+
"portMappings": [
32+
{
33+
"containerPort": 5000,
34+
"hostPort": 0,
35+
"servicePort": 5000,
36+
"protocol": "tcp"
37+
}
38+
]
39+
}
40+
}
41+
}

0 commit comments

Comments
 (0)