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: node-exporter:
image: prom/node-exporter image: prom/node-exporter
volumes: volumes:
- /proc:/host/proc - /proc:/host/proc:ro
- /sys:/host/sys - /sys:/host/sys:ro
- /:/rootfs - /:/rootfs:ro
command: command:
- '--path.procfs=/host/proc' - '--path.procfs=/host/proc'
- '--path.sysfs=/host/sys' - '--path.sysfs=/host/sys'