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 image: gcr.io/cadvisor/cadvisor:v0.47.0
container_name: cadvisor container_name: cadvisor
ports: ports:
- "8080:8080" - 8080:8080
network_mode: host network_mode: host
volumes: volumes:
- /:/rootfs:ro - /:/rootfs:ro

View File

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