Skip to content

Instantly share code, notes, and snippets.

@tnolet
Created October 18, 2017 09:47
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 tnolet/5dd303d83782b57ac8cb301b08653477 to your computer and use it in GitHub Desktop.
Save tnolet/5dd303d83782b57ac8cb301b08653477 to your computer and use it in GitHub Desktop.
simpleservice_marathon.json
{
"id": "/simple-service-1.0.0",
"container": {
"type": "DOCKER",
"docker": {
"image": "magneticio/simpleservice:1.0.0",
"network": "BRIDGE",
"portMappings": [
{
"containerPort": 3000,
"labels": {
"VIP_0": "/simple-service-1.0.0:3000"
}
}
],
}
},
"labels": {
"HAPROXY_0_MODE": "http",
"HAPROXY_0_VHOST": "simpleservice100.mycompany.com",
"HAPROXY_GROUP": "external"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment