From 274a65903b0de1d23fa5df4668b328ad78e3b19e Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 24 Jul 2025 18:53:04 +0400 Subject: [PATCH] fix: otel.yaml --- docker-compose.otel.yaml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/docker-compose.otel.yaml b/docker-compose.otel.yaml index 436a54cbe3..2f9ddf06ac 100644 --- a/docker-compose.otel.yaml +++ b/docker-compose.otel.yaml @@ -8,16 +8,28 @@ services: - "4318:4318" # OTLP/HTTP restart: unless-stopped + open-webui: - image: ghcr.io/open-webui/open-webui:main + build: + context: . + args: + OLLAMA_BASE_URL: '/ollama' + dockerfile: Dockerfile + image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main} container_name: open-webui - depends_on: [grafana] + volumes: + - open-webui:/app/backend/data + depends_on: + - grafana + ports: + - ${OPEN_WEBUI_PORT-3000}:8080 environment: - ENABLE_OTEL=true - OTEL_EXPORTER_OTLP_ENDPOINT=http://grafana:4317 - OTEL_SERVICE_NAME=open-webui - ports: - - "8088:8080" + extra_hosts: + - host.docker.internal:host-gateway + restart: unless-stopped networks: [default] networks: