From 231c4f94ec2d0f12128ca7ada5a81815db78e685 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Wed, 27 Dec 2023 14:12:25 +0530 Subject: [PATCH] Add listening port flag to node exporter command --- .../data/compose/docker-compose-node-exporter.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stack_orchestrator/data/compose/docker-compose-node-exporter.yml b/stack_orchestrator/data/compose/docker-compose-node-exporter.yml index 8b49c269..6fa02d6d 100644 --- a/stack_orchestrator/data/compose/docker-compose-node-exporter.yml +++ b/stack_orchestrator/data/compose/docker-compose-node-exporter.yml @@ -5,12 +5,11 @@ services: image: prom/node-exporter:latest restart: unless-stopped command: + - '--web.listen-address=:9100' - '--path.rootfs=/host' - '--collector.systemd' - '--collector.processes' network_mode: host pid: host - ports: - - 9100 volumes: - '/:/host:ro,rslave'