Files
weave-scope/examples/docker/docker-compose-probe-v2.yml
Bryan Boreham d9082d2649 Release 1.12.0
2019-11-12 17:20:19 +00:00

15 lines
335 B
YAML

version: '2'
services:
probe:
image: weaveworks/scope:1.12.0
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}"