mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 05:45:19 +00:00
commit
3220088411
1 changed files with 19 additions and 8 deletions
|
|
@ -8,17 +8,28 @@ services:
|
||||||
- "4318:4318" # OTLP/HTTP
|
- "4318:4318" # OTLP/HTTP
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
|
||||||
open-webui:
|
open-webui:
|
||||||
image: ghcr.io/open-webui/open-webui:main
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main}
|
||||||
container_name: open-webui
|
container_name: open-webui
|
||||||
depends_on: [grafana]
|
volumes:
|
||||||
|
- open-webui:/app/backend/data
|
||||||
|
depends_on:
|
||||||
|
- grafana
|
||||||
|
ports:
|
||||||
|
- ${OPEN_WEBUI_PORT-8088}:8080
|
||||||
environment:
|
environment:
|
||||||
- ENABLE_OTEL=true
|
- 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
|
- OTEL_SERVICE_NAME=open-webui
|
||||||
ports:
|
extra_hosts:
|
||||||
- "8088:8080"
|
- host.docker.internal:host-gateway
|
||||||
networks: [default]
|
restart: unless-stopped
|
||||||
|
|
||||||
networks:
|
volumes:
|
||||||
default:
|
open-webui: {}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue