Guest User

Untitled

a guest
Aug 9th, 2021
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. node-exporter:
  2. image: prom/node-exporter:latest
  3. container_name: monitoring_node_exporter
  4. volumes:
  5. - /proc:/host/proc:ro
  6. - /sys:/host/sys:ro
  7. - /:/rootfs:ro
  8. command:
  9. - '--path.procfs=/host/proc'
  10. - '--path.rootfs=/rootfs'
  11. - '--path.sysfs=/host/sys'
  12. - '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
  13. restart: unless-stopped
  14. expose:
  15. - 9100
Advertisement
Add Comment
Please, Sign In to add comment