+12
-1
@@ -11,6 +11,17 @@ LOKI_PORT=3100
|
||||
TEMPO_PORT=3200
|
||||
ALLOY_PORT=12345
|
||||
ALLOY_UI_PORT=12345
|
||||
ALLOY_METRICS_PORT=9999
|
||||
ALLOY_LOGS_HTTP_PORT=3101
|
||||
ALLOY_SYSLOG_PORT=1514
|
||||
ALLOY_OTLP_GRPC_PORT=4317
|
||||
ALLOY_OTLP_HTTP_PORT=4318
|
||||
ALLOY_JAEGER_GRPC_PORT=14250
|
||||
ALLOY_JAEGER_HTTP_PORT=14268
|
||||
ALLOY_JAEGER_COMPACT_PORT=6831
|
||||
ALLOY_ZIPKIN_PORT=9411
|
||||
NODE_EXPORTER_PORT=9100
|
||||
CADVISOR_PORT=8081
|
||||
|
||||
# Configuración de volúmenes
|
||||
# Rutas donde se almacenarán los datos persistentes
|
||||
@@ -30,4 +41,4 @@ COMPOSE_PROJECT_NAME=suite-logs
|
||||
# 1. Copia este archivo a .env: cp .env.example .env
|
||||
# 2. Edita .env y cambia GRAFANA_ADMIN_PASSWORD por una contraseña segura
|
||||
# 3. Opcionalmente modifica los puertos si hay conflictos
|
||||
# 4. Nunca subas el archivo .env al repositorio (ya está en .gitignore)
|
||||
# 4. Nunca subas el archivo .env al repositorio (ya está en .gitignore)
|
||||
|
||||
+11
-11
@@ -55,19 +55,19 @@ services:
|
||||
ports:
|
||||
- "${ALLOY_UI_PORT:-12345}:12345" # Puerto para la UI de Alloy
|
||||
# Puertos para métricas
|
||||
- "9999:9999" # HTTP receiver para métricas externas
|
||||
- "${ALLOY_METRICS_PORT:-9999}:9999" # HTTP receiver para métricas externas
|
||||
# Puertos para logs
|
||||
- "3101:3101" # HTTP receiver para logs externos
|
||||
- "1514:1514" # Syslog TCP receiver
|
||||
- "${ALLOY_LOGS_HTTP_PORT:-3101}:3101" # HTTP receiver para logs externos
|
||||
- "${ALLOY_SYSLOG_PORT:-1514}:1514" # Syslog TCP receiver
|
||||
# Puertos para trazas - OpenTelemetry
|
||||
- "4317:4317" # OTLP gRPC (ya expuesto en tempo, redirigido aquí)
|
||||
- "4318:4318" # OTLP HTTP (ya expuesto en tempo, redirigido aquí)
|
||||
- "${ALLOY_OTLP_GRPC_PORT:-4317}:4317" # OTLP gRPC
|
||||
- "${ALLOY_OTLP_HTTP_PORT:-4318}:4318" # OTLP HTTP
|
||||
# Puertos para trazas - Jaeger compatibility
|
||||
- "14250:14250" # Jaeger gRPC
|
||||
- "14268:14268" # Jaeger HTTP
|
||||
- "6831:6831/udp" # Jaeger compact thrift
|
||||
- "${ALLOY_JAEGER_GRPC_PORT:-14250}:14250" # Jaeger gRPC
|
||||
- "${ALLOY_JAEGER_HTTP_PORT:-14268}:14268" # Jaeger HTTP
|
||||
- "${ALLOY_JAEGER_COMPACT_PORT:-6831}:6831/udp" # Jaeger compact thrift
|
||||
# Puertos para trazas - Zipkin compatibility
|
||||
- "9411:9411" # Zipkin HTTP
|
||||
- "${ALLOY_ZIPKIN_PORT:-9411}:9411" # Zipkin HTTP
|
||||
volumes:
|
||||
- ./config/alloy/alloy.river:/etc/alloy/config.river
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
image: prom/node-exporter:latest
|
||||
container_name: node-exporter
|
||||
ports:
|
||||
- "9100:9100"
|
||||
- "${NODE_EXPORTER_PORT:-9100}:9100"
|
||||
command:
|
||||
- '--path.rootfs=/host'
|
||||
volumes:
|
||||
@@ -137,7 +137,7 @@ services:
|
||||
container_name: cadvisor
|
||||
privileged: true
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "${CADVISOR_PORT:-8081}:8080"
|
||||
volumes:
|
||||
- /:/rootfs:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
|
||||
Reference in New Issue
Block a user