Skip to content

Instantly share code, notes, and snippets.

@brndnmtthws
Created December 3, 2015 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save brndnmtthws/84d0ab8ac057aaacba05 to your computer and use it in GitHub Desktop.
Save brndnmtthws/84d0ab8ac057aaacba05 to your computer and use it in GitHub Desktop.
{
"id": "nginx",
"container": {
"type": "DOCKER",
"docker": {
"image": "nginx:1.7.7",
"network": "BRIDGE",
"portMappings": [
{ "hostPort": 0, "containerPort": 80, "servicePort": 10000 }
],
"forcePullImage":true
}
},
"instances": 1,
"cpus": 0.1,
"mem": 65,
"healthChecks": [{
"protocol": "HTTP",
"path": "/",
"portIndex": 0,
"timeoutSeconds": 10,
"gracePeriodSeconds": 10,
"intervalSeconds": 2,
"maxConsecutiveFailures": 10
}],
"labels":{
"HAPROXY_GROUP":"external"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment