Skip to content

Instantly share code, notes, and snippets.

@minyk
Created November 16, 2018 09:33
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 minyk/e36b96ab64d9c676929a36939b86e1c1 to your computer and use it in GitHub Desktop.
Save minyk/e36b96ab64d9c676929a36939b86e1c1 to your computer and use it in GitHub Desktop.
Marathon Deploy JSON with no-frontend.
{
"id": "/mw/memory-stat",
"cpus": 1,
"mem": 2048,
"instances": 1,
"container": {
"type": "DOCKER",
"docker": {
"forcePullImage": true,
"image": "harbor.ajway.kr/middleware/mw:1.0",
"privileged": false
},
"portMappings": [
{
"containerPort": 8888,
"hostPort": 0,
"labels": {},
"name": "http",
"protocol": "tcp",
"servicePort": 0
}
]
},
"env": {
"TZ": "Asia/Seoul"
},
"labels": {
"HAPROXY_0_GROUP": "external",
"HAPROXY_0_MODE": "http",
"HAPROXY_0_VHOST": "memory.dev.ajway.kr",
"HAPROXY_0_FRONTEND_HEAD": "",
"HAPROXY_0_FRONTEND_BACKEND_GLUE": "",
},
"networks": [
{
"name": "dev",
"mode": "container"
}
],
"maxLaunchDelaySeconds": 2400
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment