Skip to content

Commit

Permalink
compose: remove external ports for node_exporter,cadvisor
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-linnovate committed Sep 10, 2024
1 parent cd5a6fd commit 1fa005c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions compose/monitoring/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ services:
cadvisor:
image: gcr.io/cadvisor/cadvisor:v0.47.0
container_name: hossted_cadvisor
ports:
- "8082:8080"
#ports:
# - "8082:8080"
volumes:
- /:/rootfs:ro
- /var/run:/var/run:ro
Expand All @@ -17,8 +17,8 @@ services:
node_exporter:
image: prom/node-exporter:latest
container_name: hossted_node_exporter
ports:
- "9100:9100"
#ports:
# - "9100:9100"
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
Expand Down

0 comments on commit 1fa005c

Please sign in to comment.