grafana-docker-stack/node-exporter.yml

16 lines
490 B
YAML
Raw Normal View History

2021-07-25 07:31:38 +00:00
version: "3.9"
services:
node-exporter:
2022-05-31 14:55:40 +00:00
image: prom/node-exporter:v1.3.1
2021-07-25 07:31:38 +00:00
ports:
- "9100:9100"
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
command:
- '--path.procfs=/host/proc'
- '--path.sysfs=/host/sys'
- '--collector.filesystem.mount-points-exclude'
- '^/(sys|proc|dev|host|etc|rootfs/var/lib/docker/containers|rootfs/var/lib/docker/overlay2|rootfs/run/docker/netns|rootfs/var/lib/docker/aufs)($$|/)'