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
commit e5f8ba1011
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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'