Created
July 1, 2015 14:31
-
-
Save tgermain/add38414effe1557d612 to your computer and use it in GitHub Desktop.
Example application with 1 port mapped
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": "easy-app-python", | |
"cpus": 0.2, | |
"mem": 32.0, | |
"instances": 2, | |
"container": { | |
"docker": { | |
"type": "DOCKER", | |
"image": "docker.io/tgermain/easy_app_python:v3", | |
"network": "BRIDGE", | |
"portMappings": [ | |
{ "containerPort": 5000, "hostPort": 0,"servicePort":30501, "protocol": "tcp" } | |
] | |
} | |
}, | |
"env":{ | |
"SERVICE_NAME":"easy-python" | |
}, | |
"labels": { | |
"HAPROXY_HTTP": "false" | |
} | |
} |
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
{ | |
"args":null, | |
"backoffFactor":1.15, | |
"backoffSeconds":1, | |
"cmd":"", | |
"constraints":[ | |
], | |
"container":{ | |
"docker":{ | |
"image":"docker.io/tgermain/easy_app_python:v3", | |
"parameters":[ | |
], | |
"privileged":false, | |
"network":"BRIDGE", | |
"portMappings":[ | |
{ | |
"containerPort":5000, | |
"hostPort":0, | |
"servicePort":30501, | |
"protocol":"tcp" | |
} | |
], | |
"forcePullImage":false | |
}, | |
"type":"DOCKER", | |
"volumes":[ | |
] | |
}, | |
"cpus":0.2, | |
"dependencies":[ | |
], | |
"disk":0, | |
"env":{ | |
"SERVICE_NAME":"easy-python" | |
}, | |
"executor":"", | |
"labels":{ | |
"HAPROXY_HTTP":"false" | |
}, | |
"healthChecks":[ | |
], | |
"id":"/easy-app-python", | |
"instances":2, | |
"mem":32, | |
"ports":[ | |
0 | |
], | |
"requirePorts":false, | |
"storeUrls":[ | |
], | |
"upgradeStrategy":{ | |
"minimumHealthCapacity":1, | |
"maximumOverCapacity":1 | |
}, | |
"uris":[ | |
], | |
"user":"", | |
"version":"2015-07-01T14:30:08.825Z" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment