2015-10-23 07:49:19 +00:00
|
|
|
{
|
|
|
|
"id": "whoami",
|
|
|
|
"cpus": 0.1,
|
|
|
|
"mem": 64.0,
|
|
|
|
"instances": 3,
|
|
|
|
"container": {
|
|
|
|
"type": "DOCKER",
|
|
|
|
"docker": {
|
2019-01-18 14:18:04 +00:00
|
|
|
"image": "containous/whoami",
|
2015-10-23 07:49:19 +00:00
|
|
|
"network": "BRIDGE",
|
|
|
|
"portMappings": [
|
|
|
|
{ "containerPort": 80, "hostPort": 0, "protocol": "tcp" }
|
2016-01-18 10:52:18 +00:00
|
|
|
]
|
2015-10-23 07:49:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"healthChecks": [
|
|
|
|
{
|
|
|
|
"protocol": "HTTP",
|
|
|
|
"portIndex": 0,
|
|
|
|
"path": "/",
|
|
|
|
"gracePeriodSeconds": 5,
|
|
|
|
"intervalSeconds": 20,
|
|
|
|
"maxConsecutiveFailures": 3
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"labels": {
|
|
|
|
"traefik.weight": "1",
|
2016-04-21 22:38:44 +00:00
|
|
|
"traefik.protocol": "http",
|
2016-06-06 20:33:29 +00:00
|
|
|
"traefik.frontend.rule" : "Host:test.marathon.localhost",
|
|
|
|
"traefik.frontend.priority" : "10"
|
2015-10-23 07:49:19 +00:00
|
|
|
}
|
|
|
|
}
|