Created
December 23, 2014 19:04
-
-
Save mdobson/721c29731fc3121457ac to your computer and use it in GitHub Desktop.
Marathon + Zetta = <3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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