mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-11 03:13:24 +00:00
Multi-agent AI gateway with WebSocket RPC, HTTP API, and messaging channel integrations. Go port of OpenClaw with multi-tenant PostgreSQL, per-user isolation, security hardening, and production observability. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
32 lines
876 B
YAML
32 lines
876 B
YAML
# OTel overlay — rebuilds with OTel support + adds Jaeger for trace visualization.
|
|
#
|
|
# Usage (with managed mode):
|
|
# docker compose -f docker-compose.yml -f docker-compose.managed.yml -f docker-compose.otel.yml up
|
|
#
|
|
# Jaeger UI: http://localhost:16686
|
|
|
|
services:
|
|
jaeger:
|
|
image: jaegertracing/all-in-one:1.68
|
|
ports:
|
|
- "16686:16686" # Jaeger UI
|
|
- "4317:4317" # OTLP gRPC
|
|
- "4318:4318" # OTLP HTTP
|
|
environment:
|
|
- COLLECTOR_OTLP_ENABLED=true
|
|
restart: unless-stopped
|
|
|
|
goclaw:
|
|
build:
|
|
args:
|
|
ENABLE_OTEL: "true"
|
|
environment:
|
|
- GOCLAW_TELEMETRY_ENABLED=true
|
|
- GOCLAW_TELEMETRY_ENDPOINT=jaeger:4317
|
|
- GOCLAW_TELEMETRY_PROTOCOL=grpc
|
|
- GOCLAW_TELEMETRY_INSECURE=true
|
|
- GOCLAW_TELEMETRY_SERVICE_NAME=goclaw-gateway
|
|
depends_on:
|
|
jaeger:
|
|
condition: service_started
|