diff --git a/leyhome/node-exporter.yml b/leyhome/node-exporter.yml new file mode 100644 index 0000000..ed9b975 --- /dev/null +++ b/leyhome/node-exporter.yml @@ -0,0 +1,17 @@ +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.sysfs=/host/sys' + - '--collector.filesystem.ignored-mount-points=^/(sys|proc|dev|host|etc)($$|/)' + ports: + - "9100:9100" \ No newline at end of file