Skip to content

Commit 626ad9c

Browse files
committed
fix: otel yaml
1 parent 6c476ec commit 626ad9c

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

docker-compose.otel.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ services:
1212
open-webui:
1313
build:
1414
context: .
15-
args:
16-
OLLAMA_BASE_URL: '/ollama'
1715
dockerfile: Dockerfile
1816
image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main}
1917
container_name: open-webui
@@ -25,16 +23,13 @@ services:
2523
- ${OPEN_WEBUI_PORT-8088}:8080
2624
environment:
2725
- ENABLE_OTEL=true
28-
- OTEL_EXPORTER_OTLP_ENDPOINT=http://grafana:4317
26+
- ENABLE_OTEL_METRICS=true
27+
- OTEL_EXPORTER_OTLP_INSECURE=true # Use insecure connection for OTLP, remove in production
28+
- OTEL_EXPORTER_OTLP_ENDPOINT=http://grafana:4317
2929
- OTEL_SERVICE_NAME=open-webui
3030
extra_hosts:
3131
- host.docker.internal:host-gateway
3232
restart: unless-stopped
33-
networks: [default]
34-
35-
networks:
36-
default:
37-
3833

3934
volumes:
4035
open-webui: {}

0 commit comments

Comments
 (0)