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:
|
||||
prometheus_data: {}
|
||||
|
@ -39,15 +39,9 @@ services:
|
|||
node-exporter:
|
||||
image: prom/node-exporter
|
||||
volumes:
|
||||
- type: bind
|
||||
source: /proc
|
||||
target: /host/proc
|
||||
- type: bind
|
||||
source: /sys
|
||||
target: /host/sys
|
||||
- type: bind
|
||||
source: /
|
||||
target: /rootfs
|
||||
- /proc:/host/proc
|
||||
- /sys:/host/sys
|
||||
- /:/rootfs
|
||||
command:
|
||||
- '--path.procfs=/host/proc'
|
||||
- '--path.sysfs=/host/sys'
|
||||
|
|
Loading…
Reference in New Issue