Skip to content

Instantly share code, notes, and snippets.

@minyk
Created April 13, 2017 00:51
Show Gist options
  • Save minyk/ef15d2420177787b33633d8f3e6bddd6 to your computer and use it in GitHub Desktop.
Save minyk/ef15d2420177787b33633d8f3e6bddd6 to your computer and use it in GitHub Desktop.
DC/OS 1.8.8 app json file.
{
"id": "/etcd-viewer",
"env": {
"TZ": "Asia/Seoul",
"ETCD_CLIENT_URL": "http://etcd-server-oyi7a-s2.etcd-erp-prod.mesos:1026/"
},
"cpus": 1,
"mem": 2048,
"container": {
"docker": {
"image": "minyk/etcd-viewer:1.2.0",
"forcePullImage": true,
"privileged": false,
"portMappings": [
{
"containerPort": 8080,
"protocol": "tcp",
"name": "web",
"labels": {
"VIP_0": "/etcd-viewer:8080"
},
"hostPort": 0
}
],
"network": "USER"
}
},
"healthChecks": [
{
"protocol": "HTTP",
"path": "/home",
"gracePeriodSeconds": 300,
"intervalSeconds": 60,
"timeoutSeconds": 20,
"maxConsecutiveFailures": 3,
"ignoreHttp1xx": false
}
],
"labels": {
"HAPROXY_GROUP": "external",
"HAPROXY_0_VHOST": "etcd-dev.ajway.kr"
},
"ipAddress": {
"networkName": "dev"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment