change paths
This commit is contained in:
@@ -4,14 +4,10 @@ services:
|
|||||||
image: quay.io/prometheus/node-exporter:v1.9.0
|
image: quay.io/prometheus/node-exporter:v1.9.0
|
||||||
container_name: node-exporter
|
container_name: node-exporter
|
||||||
command:
|
command:
|
||||||
- '--path.procfs=/host/proc'
|
|
||||||
- '--path.rootfs=/rootfs'
|
- '--path.rootfs=/rootfs'
|
||||||
- '--path.sysfs=/host/sys'
|
|
||||||
ports:
|
ports:
|
||||||
- 9100:9100
|
- 9100:9100
|
||||||
pid: host
|
pid: host
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /proc:/host/proc:ro
|
|
||||||
- /sys:/host/sys:ro
|
|
||||||
- /:/rootfs:ro
|
- /:/rootfs:ro
|
||||||
|
Reference in New Issue
Block a user