fixing ports

This commit is contained in:
Jose Henrique 2025-06-07 14:22:28 -03:00
parent a643ad58e5
commit f2b8cc3b7b
4 changed files with 5 additions and 5 deletions

View File

@ -106,8 +106,8 @@ services: # ──────────────────────
container_name: opencand_loki container_name: opencand_loki
restart: unless-stopped restart: unless-stopped
ports: ports:
- "127.0.0.1:6100:3100" - "127.0.0.1:6110:3100"
- "10.8.0.3:6100:3100" - "10.8.0.3: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

View File

@ -4,7 +4,7 @@ datasources:
- name: Loki - name: Loki
type: loki type: loki
access: proxy access: proxy
url: http://loki:6100 url: http://loki:6110
isDefault: false isDefault: false
jsonData: jsonData:
maxLines: 1000 maxLines: 1000

View File

@ -1,7 +1,7 @@
auth_enabled: false auth_enabled: false
server: server:
http_listen_port: 6100 http_listen_port: 6110
grpc_listen_port: 6096 grpc_listen_port: 6096
common: common:

View File

@ -6,7 +6,7 @@ positions:
filename: /tmp/positions.yaml filename: /tmp/positions.yaml
clients: clients:
- url: http://loki:6100/loki/api/v1/push - url: http://loki:6110/loki/api/v1/push
scrape_configs: scrape_configs:
# Docker container logs # Docker container logs