added node-exporter

This commit is contained in:
2022-11-21 21:04:07 +01:00
parent 9fcea9658c
commit 1e08d0c7fa

View File

@@ -21,3 +21,18 @@ services:
ports:
- 2883:1883
- 9001:9001
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