changing monitoring ports to 6xxx family

This commit is contained in:
2025-06-07 14:21:16 -03:00
parent 269c6beff3
commit a643ad58e5
5 changed files with 18 additions and 17 deletions

View File

@@ -106,8 +106,8 @@ services: # ──────────────────────
container_name: opencand_loki
restart: unless-stopped
ports:
- "127.0.0.1:3100:3100"
- "10.8.0.3:3100:3100"
- "127.0.0.1:6100:3100"
- "10.8.0.3:6100:3100"
command: -config.file=/etc/loki/local-config.yaml
volumes:
- ./monitoring/loki-config.yaml:/etc/loki/local-config.yaml
@@ -131,14 +131,15 @@ services: # ──────────────────────
command: -config.file=/etc/promtail/config.yml
depends_on:
- loki
# Prometheus - Metrics collection
prometheus:
image: prom/prometheus:v2.45.0
container_name: opencand_prometheus
restart: unless-stopped
ports:
- "127.0.0.1:9090:9090"
- "10.8.0.3:9090:9090"
- "127.0.0.1:6090:9090"
- "10.8.0.3:6090:9090"
command:
- "--config.file=/etc/prometheus/prometheus.yml"
- "--storage.tsdb.path=/prometheus"
@@ -156,8 +157,8 @@ services: # ──────────────────────
container_name: opencand_node_exporter
restart: unless-stopped
ports:
- "127.0.0.1:9100:9100"
- "10.8.0.3:9100:9100"
- "127.0.0.1:6100:9100"
- "10.8.0.3:6100:9100"
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
@@ -173,8 +174,8 @@ services: # ──────────────────────
container_name: opencand_grafana
restart: unless-stopped
ports:
- "127.0.0.1:3000:3000"
- "10.8.0.3:3000:3000"
- "127.0.0.1:6000:3000"
- "10.8.0.3:6000:3000"
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_USERS_ALLOW_SIGN_UP=false