Files
weave-scope/examples/docker/docker-compose-probe-v2.yml
Bryan Boreham c0b2690679 Release 1.10.2
2019-02-12 16:21:58 +00:00

15 lines
335 B
YAML

version: '2'
services:
probe:
image: weaveworks/scope:1.10.2
network_mode: "host"
pid: "host"
privileged: true
labels:
- "works.weave.role=system"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:rw"
command:
- "--probe.docker=true"
- "--service-token=${SCOPE_SERVICE_TOKEN}"