Created
January 19, 2016 22:22
-
-
Save linben/ef63cd3fee43133db683 to your computer and use it in GitHub Desktop.
This file contains 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": "nginx", | |
"container": { | |
"type": "DOCKER", | |
"docker": { | |
"image": "nginx:1.7.7", | |
"network": "BRIDGE", | |
"portMappings": [ | |
{ "hostPort": 0, "containerPort": 80, "servicePort": 9000 } | |
], | |
"forcePullImage":true | |
} | |
}, | |
"instances": 3, | |
"cpus": 0.1, | |
"mem": 65, | |
"healthChecks": [{ | |
"protocol": "HTTP", | |
"path": "/", | |
"portIndex": 0, | |
"timeoutSeconds": 10, | |
"gracePeriodSeconds": 10, | |
"intervalSeconds": 2, | |
"maxConsecutiveFailures": 10 | |
}], | |
"constraints": [["hostname", "UNIQUE"]], | |
"acceptedResourceRoles":["slave_public"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment