mirror of
https://github.com/zebrajr/ollama-webui.git
synced 2025-12-06 12:19:46 +01:00
fix: otel yaml
This commit is contained in:
parent
6c476ec939
commit
626ad9c83d
|
|
@ -12,8 +12,6 @@ services:
|
||||||
open-webui:
|
open-webui:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
|
||||||
OLLAMA_BASE_URL: '/ollama'
|
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main}
|
image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main}
|
||||||
container_name: open-webui
|
container_name: open-webui
|
||||||
|
|
@ -25,16 +23,13 @@ services:
|
||||||
- ${OPEN_WEBUI_PORT-8088}:8080
|
- ${OPEN_WEBUI_PORT-8088}:8080
|
||||||
environment:
|
environment:
|
||||||
- ENABLE_OTEL=true
|
- ENABLE_OTEL=true
|
||||||
|
- 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_EXPORTER_OTLP_ENDPOINT=http://grafana:4317
|
||||||
- OTEL_SERVICE_NAME=open-webui
|
- OTEL_SERVICE_NAME=open-webui
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- host.docker.internal:host-gateway
|
- host.docker.internal:host-gateway
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks: [default]
|
|
||||||
|
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
open-webui: {}
|
open-webui: {}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user