Timothy Jaeryang Baek 2 miesięcy temu
rodzic
commit
626ad9c83d
1 zmienionych plików z 3 dodań i 8 usunięć
  1. 3 8
      docker-compose.otel.yaml

+ 3 - 8
docker-compose.otel.yaml

@@ -12,8 +12,6 @@ services:
   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
@@ -25,16 +23,13 @@ services:
       - ${OPEN_WEBUI_PORT-8088}:8080
     environment:
       - ENABLE_OTEL=true
-      - OTEL_EXPORTER_OTLP_ENDPOINT=http://grafana:4317 
+      - ENABLE_OTEL_METRICS=true
+      - OTEL_EXPORTER_OTLP_INSECURE=true # Use insecure connection for OTLP, remove in production
+      - 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: {}