Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@loren
Created September 28, 2016 23:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loren/131e80429af5d0fd953d21ed130d4be4 to your computer and use it in GitHub Desktop.
Save loren/131e80429af5d0fd953d21ed130d4be4 to your computer and use it in GitHub Desktop.
marathon
{
"id": "haproxy",
"mem": 128,
"cpus": 0.5,
"requirePorts": true,
"instances": 1,
"container": {
"type": "DOCKER",
"docker": {
"network": "HOST",
"image": "sargun/haproxy-demo:3"
}
},
"env": {
"CONFIGURL": "https://gist.githubusercontent.com/loren/c4eca3cd7b638a97346843bdef62a2d4/raw/1e4f665e6801cb67cf5d4cc7e50d7eb84ebd18c1/haproxy.cfg"
},
"acceptedResourceRoles": [
"slave_public"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment