docker-compose.otel.yaml 555 B

123456789101112131415161718192021222324
  1. services:
  2. grafana:
  3. image: grafana/otel-lgtm:latest
  4. container_name: lgtm
  5. ports:
  6. - "3000:3000" # Grafana UI
  7. - "4317:4317" # OTLP/gRPC
  8. - "4318:4318" # OTLP/HTTP
  9. restart: unless-stopped
  10. open-webui:
  11. image: ghcr.io/open-webui/open-webui:main
  12. container_name: open-webui
  13. depends_on: [grafana]
  14. environment:
  15. - ENABLE_OTEL=true
  16. - OTEL_EXPORTER_OTLP_ENDPOINT=http://grafana:4317
  17. - OTEL_SERVICE_NAME=open-webui
  18. ports:
  19. - "8088:8080"
  20. networks: [default]
  21. networks:
  22. default: