remove unnecessary config

This commit is contained in:
llitfkitfk 2017-08-11 18:24:51 +08:00
parent 7b5657d006
commit c5efc5517c
1 changed files with 0 additions and 3 deletions

View File

@ -37,15 +37,12 @@ services:
- node.role == manager - node.role == manager
- node.hostname == node1 - node.hostname == node1
node-exporter: node-exporter:
container_name: node-exporter
image: prom/node-exporter image: prom/node-exporter
volumes: volumes:
- /proc:/host/proc:ro - /proc:/host/proc:ro
- /sys:/host/sys:ro - /sys:/host/sys:ro
- /:/rootfs:ro - /:/rootfs:ro
command: '-collector.procfs=/host/proc -collector.sysfs=/host/sys -collector.filesystem.ignored-mount-points="^(/rootfs|/host|)/(sys|proc|dev|host|etc)($$|/)" collector.filesystem.ignored-fs-types="^(sys|proc|auto|cgroup|devpts|ns|au|fuse\.lxc|mqueue)(fs|)$$"' command: '-collector.procfs=/host/proc -collector.sysfs=/host/sys -collector.filesystem.ignored-mount-points="^(/rootfs|/host|)/(sys|proc|dev|host|etc)($$|/)" collector.filesystem.ignored-fs-types="^(sys|proc|auto|cgroup|devpts|ns|au|fuse\.lxc|mqueue)(fs|)$$"'
expose:
- 9100
networks: networks:
- back-tier - back-tier
deploy: deploy: