Skip to content

Instantly share code, notes, and snippets.

@mdobson
Created December 23, 2014 19:04
Show Gist options
  • Save mdobson/721c29731fc3121457ac to your computer and use it in GitHub Desktop.
Save mdobson/721c29731fc3121457ac to your computer and use it in GitHub Desktop.
Marathon + Zetta = <3
{
"id": "zetta-hello",
"container": {
"docker": {
"image":"mdobson/zetta-docker",
"network":"BRIDGE",
"portMappings": [
{
"containerPort":3000,
"hostPort": 0,
"protocol":"tcp"
}
]
},
"type": "DOCKER"
},
"healthChecks":[
{
"protocol":"HTTP",
"portIndex": 0,
"path": "/",
"gracePeriodSeconds": 5,
"intervalSeconds": 20,
"maxConsecutiveFailures": 3
}],
"env": {
"NODE_PORT":"3000"
},
"cpus": 0.25,
"mem": 128,
"instances": 1,
"ports": [0]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment