Commit 0fcf4844 authored by llitfkitfk's avatar llitfkitfk
Browse files

remove docker compose file 3.2 Volume LONG SYNTAX

parent b699d049
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'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment