reorganized the file and folder structure

This commit is contained in:
2023-01-27 18:38:21 +00:00
parent 5910d4d9a9
commit 0d4e8b6e80
18 changed files with 36 additions and 47 deletions
+19
View File
@@ -0,0 +1,19 @@
version: '3'
services:
node-exporter:
image: prom/node-exporter:latest
deploy:
mode: global
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"