From c77c4ff3f76d558868308244359037eb72aedb5c Mon Sep 17 00:00:00 2001 From: Taehong Gu Date: Wed, 25 Jun 2025 00:11:06 +0900 Subject: [PATCH] build: add docker-compose.otel.yaml for OpenTelemetry --- docker-compose.otel.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 docker-compose.otel.yaml diff --git a/docker-compose.otel.yaml b/docker-compose.otel.yaml new file mode 100644 index 000000000..436a54cbe --- /dev/null +++ b/docker-compose.otel.yaml @@ -0,0 +1,24 @@ +services: + grafana: + image: grafana/otel-lgtm:latest + container_name: lgtm + ports: + - "3000:3000" # Grafana UI + - "4317:4317" # OTLP/gRPC + - "4318:4318" # OTLP/HTTP + restart: unless-stopped + + open-webui: + image: ghcr.io/open-webui/open-webui:main + container_name: open-webui + depends_on: [grafana] + environment: + - ENABLE_OTEL=true + - OTEL_EXPORTER_OTLP_ENDPOINT=http://grafana:4317 + - OTEL_SERVICE_NAME=open-webui + ports: + - "8088:8080" + networks: [default] + +networks: + default: