quick formatting updates

This commit is contained in:
Christian Lempa 2023-05-25 14:43:21 +02:00
parent 28f7de79c8
commit 7c8b8e215b
2 changed files with 3 additions and 4 deletions

View File

@ -4,7 +4,7 @@ services:
image: gcr.io/cadvisor/cadvisor:v0.47.0
container_name: cadvisor
ports:
- "8080:8080"
- 8080:8080
network_mode: host
volumes:
- /:/rootfs:ro

View File

@ -3,9 +3,8 @@ services:
node_exporter:
image: quay.io/prometheus/node-exporter:v1.5.0
container_name: node_exporter
command:
- '--path.rootfs=/host'
command: "--path.rootfs=/host"
pid: host
restart: unless-stopped
volumes:
- '/:/host:ro,rslave'
- /:/host:ro,rslave