local ips for internal logging

This commit is contained in:
Jose Henrique 2025-06-07 14:37:37 -03:00
parent 715e9d6c56
commit 15144bd779

View File

@ -106,7 +106,7 @@ services: # ──────────────────────
container_name: opencand_loki container_name: opencand_loki
restart: unless-stopped restart: unless-stopped
ports: ports:
- "6110:3100" - "127.0.0.1:6110:3100"
command: -config.file=/etc/loki/local-config.yaml command: -config.file=/etc/loki/local-config.yaml
volumes: volumes:
- ./monitoring/loki-config.yaml:/etc/loki/local-config.yaml - ./monitoring/loki-config.yaml:/etc/loki/local-config.yaml
@ -137,7 +137,7 @@ services: # ──────────────────────
container_name: opencand_prometheus container_name: opencand_prometheus
restart: unless-stopped restart: unless-stopped
ports: ports:
- "6090:9090" - "127.0.0.1:6090:9090"
command: command:
- "--config.file=/etc/prometheus/prometheus.yml" - "--config.file=/etc/prometheus/prometheus.yml"
- "--storage.tsdb.path=/prometheus" - "--storage.tsdb.path=/prometheus"
@ -155,7 +155,7 @@ services: # ──────────────────────
container_name: opencand_node_exporter container_name: opencand_node_exporter
restart: unless-stopped restart: unless-stopped
ports: ports:
- "6100:9100" - "127.0.0.1:6100:9100"
volumes: volumes:
- /proc:/host/proc:ro - /proc:/host/proc:ro
- /sys:/host/sys:ro - /sys:/host/sys:ro