mirror of
https://github.com/open-webui/docs.git
synced 2026-07-19 14:43:33 -04:00
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
services:
|
|
lgtm:
|
|
image: grafana/otel-lgtm:latest
|
|
container_name: open-webui-lgtm
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3000:3000" # Grafana UI
|
|
- "4317:4317" # OTLP gRPC receiver
|
|
- "4318:4318" # OTLP HTTP receiver
|
|
volumes:
|
|
- lgtm-data:/data
|
|
|
|
open-webui:
|
|
image: ghcr.io/open-webui/open-webui:main
|
|
container_name: open-webui-otel
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- lgtm
|
|
ports:
|
|
- "8088:8080"
|
|
environment:
|
|
ENABLE_OTEL: "true"
|
|
ENABLE_OTEL_TRACES: "true"
|
|
ENABLE_OTEL_METRICS: "true"
|
|
ENABLE_OTEL_LOGS: "true"
|
|
OTEL_SERVICE_NAME: open-webui
|
|
OTEL_EXPORTER_OTLP_ENDPOINT: http://lgtm:4317
|
|
OTEL_EXPORTER_OTLP_INSECURE: "true"
|
|
OTEL_METRICS_EXPORTER_OTLP_ENDPOINT: http://lgtm:4317
|
|
OTEL_METRICS_EXPORTER_OTLP_INSECURE: "true"
|
|
OTEL_LOGS_EXPORTER_OTLP_ENDPOINT: http://lgtm:4317
|
|
OTEL_LOGS_EXPORTER_OTLP_INSECURE: "true"
|
|
OTEL_METRICS_EXPORT_INTERVAL_MILLIS: "10000"
|
|
volumes:
|
|
- open-webui:/app/backend/data
|
|
|
|
volumes:
|
|
lgtm-data:
|
|
open-webui:
|