(Fix) #81 : Updating volume on critical resources to be read-only

This commit is contained in:
Marc ABOU CHACRA 2017-11-28 10:57:51 +01:00
parent 7b3ca393e7
commit f587650491
1 changed files with 3 additions and 3 deletions

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'