From 7c8b8e215b33ab6106e035cdac290f0649e149b5 Mon Sep 17 00:00:00 2001 From: Christian Lempa Date: Thu, 25 May 2023 14:43:21 +0200 Subject: [PATCH] quick formatting updates --- docker-compose/cadvisor/docker-compose.yaml | 2 +- docker-compose/nodeexporter/docker-compose.yaml | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docker-compose/cadvisor/docker-compose.yaml b/docker-compose/cadvisor/docker-compose.yaml index 65a7d29..5614e77 100755 --- a/docker-compose/cadvisor/docker-compose.yaml +++ b/docker-compose/cadvisor/docker-compose.yaml @@ -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 diff --git a/docker-compose/nodeexporter/docker-compose.yaml b/docker-compose/nodeexporter/docker-compose.yaml index 2846d3a..6d3b5cf 100755 --- a/docker-compose/nodeexporter/docker-compose.yaml +++ b/docker-compose/nodeexporter/docker-compose.yaml @@ -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' \ No newline at end of file + - /:/host:ro,rslave \ No newline at end of file