services: open-webui: image: ghcr.io/open-webui/open-webui:main restart: always ports: - "127.0.0.1:8091:8080" volumes: - openwebui_data:/app/backend/data environment: - OLLAMA_BASE_URL=http://host.docker.internal:11434 - WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY} labels: - "traefik.enable=true" - "traefik.http.routers.openwebui.rule=Host(`ai.kzbrd.ru`)" - "traefik.http.routers.openwebui.entrypoints=websecure" - "traefik.http.routers.openwebui.tls=true" - "traefik.http.routers.openwebui.tls.certresolver=myresolver" volumes: openwebui_data: