remove docker compose file 3.2 Volume LONG SYNTAX
This commit is contained in:
parent
b699d0491a
commit
0fcf484433
@ -1,4 +1,4 @@
|
|||||||
version: '3.2'
|
version: '3.1'
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
prometheus_data: {}
|
prometheus_data: {}
|
||||||
@ -39,15 +39,9 @@ services:
|
|||||||
node-exporter:
|
node-exporter:
|
||||||
image: prom/node-exporter
|
image: prom/node-exporter
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- /proc:/host/proc
|
||||||
source: /proc
|
- /sys:/host/sys
|
||||||
target: /host/proc
|
- /:/rootfs
|
||||||
- type: bind
|
|
||||||
source: /sys
|
|
||||||
target: /host/sys
|
|
||||||
- type: bind
|
|
||||||
source: /
|
|
||||||
target: /rootfs
|
|
||||||
command:
|
command:
|
||||||
- '--path.procfs=/host/proc'
|
- '--path.procfs=/host/proc'
|
||||||
- '--path.sysfs=/host/sys'
|
- '--path.sysfs=/host/sys'
|
||||||
|
Loading…
Reference in New Issue
Block a user