Skip to content

Instantly share code, notes, and snippets.

@errordeveloper
Last active April 5, 2016 19:04
Show Gist options
  • Save errordeveloper/53371f1a035a9e91cdd7023b0f465dd8 to your computer and use it in GitHub Desktop.
Save errordeveloper/53371f1a035a9e91cdd7023b0f465dd8 to your computer and use it in GitHub Desktop.
Marathon manifest for Weave Scope (in standalone mode)
{
"id": "/weavescope",
"cmd": null,
"cpus": 1,
"mem": 128,
"disk": 0,
"instances": 3,
"ports": [
0
],
"constraints": [
[
"hostname",
"UNIQUE"
]
],
"container": {
"type": "DOCKER",
"volumes": [
{
"containerPath": "/var/run/docker.sock",
"hostPath": "/var/run/docker.sock",
"mode": "RW"
}
],
"docker": {
"image": "weaveworks/scope:0.13.1",
"network": "HOST",
"privileged": true,
"parameters": [
{
"key": "pid",
"value": "host"
}
],
"forcePullImage": false
}
},
"portDefinitions": [
{
"port": 4040,
"protocol": "tcp",
"name": "scope",
"labels": {}
}
],
"args": [
"--probe.docker=true",
"weavescope.marathon.mesos"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment