Merge pull request #82 from mabouchacra/81-critical-volume-ro

(Fix) #81 : Updating volume on critical resources to be read-only
This commit is contained in:
田浩
2017-11-28 19:24:41 +08:00
committed by GitHub

View File

@ -38,9 +38,9 @@ services:
node-exporter:
image: prom/node-exporter
volumes:
- /proc:/host/proc
- /sys:/host/sys
- /:/rootfs
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
command:
- '--path.procfs=/host/proc'
- '--path.sysfs=/host/sys'