Add node_exporter/docker-compose.yml

Tested as a container on NODE-16; add to every new build from now on
This commit is contained in:
2026-02-04 15:04:02 +00:00
parent fecb5cacab
commit ee20fb2904

View File

@@ -0,0 +1,18 @@
version: '3.8'
services:
node-exporter:
image: prom/node-exporter:latest
container_name: node-exporter
restart: unless-stopped
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
command:
- '--path.procfs=/host/proc'
- '--path.rootfs=/rootfs'
- '--path.sysfs=/host/sys'
- '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
ports:
- 9100:9100