Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
DCOS Nginx Service config
{
"id": "/nginx",
"container": {
"type": "DOCKER",
"docker": {
"image": "nginx",
"network": "BRIDGE",
"portMappings": [
{
"hostPort": 0,
"containerPort": 80,
"labels": {
"VIP_0": "/nginx:80"
}
}
],
"forcePullImage": true
}
},
"instances": 5,
"cpus": 0.1,
"mem": 128,
"disk": 64,
"healthChecks": [{
"protocol": "HTTP",
"path": "/",
"portIndex": 0,
"timeoutSeconds": 10,
"gracePeriodSeconds": 10,
"intervalSeconds": 2,
"maxConsecutiveFailures": 10
}],
"labels": {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.