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: build: context: . args: OLLAMA_BASE_URL: '/ollama' dockerfile: Dockerfile image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main} container_name: open-webui 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 extra_hosts: - host.docker.internal:host-gateway restart: unless-stopped networks: [default] networks: default: volumes: open-webui: {}