mirror of
https://github.com/containous/traefik.git
synced 2024-12-25 23:21:40 +03:00
72f88e5c0f
Signed-off-by: Emile Vauge <emile@vauge.com>
40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"id": "/foo",
|
|
"groups": [
|
|
{
|
|
"id": "/foo/bar",
|
|
"apps": [
|
|
{
|
|
"id": "whoami",
|
|
"cpus": 0.1,
|
|
"mem": 64.0,
|
|
"instances": 3,
|
|
"container": {
|
|
"type": "DOCKER",
|
|
"docker": {
|
|
"image": "emilevauge/whoami",
|
|
"network": "BRIDGE",
|
|
"portMappings": [
|
|
{
|
|
"containerPort": 80,
|
|
"hostPort": 0,
|
|
"protocol": "tcp"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"healthChecks": [
|
|
{
|
|
"protocol": "HTTP",
|
|
"portIndex": 0,
|
|
"path": "/",
|
|
"gracePeriodSeconds": 5,
|
|
"intervalSeconds": 20,
|
|
"maxConsecutiveFailures": 3
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |