Update AI_Containers/open-webui/compose.yaml

This commit is contained in:
2026-02-21 01:23:24 +00:00
parent 19c3b9dd2e
commit 4b9f792db5
+22 -7
View File
@@ -11,15 +11,30 @@ services:
networks:
- ollama_network
- traefik_network
#Can comment out if not using Flame Dashboard
labels:
- flame.type=application # "app" works too
- flame.name=Webui
- flame.url=http://webui.homelab.internal #Adjust to your domain or IP
- flame.icon=chat-processing
### Auto create icon on Flame dashboard
- flame.type=application
- flame.name=${SERVICE_NAME}
- flame.url=https://${SERVICE_NAME}.${DOMAIN_NAME}
- flame.icon=https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/open-webui.svg
### Enable Traefik
- traefik.enable=true
- traefik.http.routers.scriberr.rule=Host(`scriberr.homelab.internal`)
- traefik.http.routers.scriberr.entrypoints=web
- traefik.docker.network=traefik_network
### For HTTP
#- traefik.http.routers.${SERVICE_NAME}.rule=Host(`${SERVICE_NAME}.${DOMAIN_NAME}`)
#- traefik.http.routers.${SERVICE_NAME}.entrypoints=web
### For HTTPS
- traefik.http.routers.${SERVICE_NAME}-https.tls=true
- traefik.http.routers.${SERVICE_NAME}-https.tls.certresolver=cloudflare
- traefik.http.routers.${SERVICE_NAME}-https.entrypoints=websecure
- traefik.http.routers.${SERVICE_NAME}-https.rule=Host(`${SERVICE_NAME}.${DOMAIN_NAME}`)
### Monitor with uptime-kuma
- kuma.monitoring.group.name=Docker Containers
- kuma.${SERVICE_NAME}.docker.parent_name=monitoring
- kuma.${SERVICE_NAME}.docker.name=${SERVICE_NAME}
- kuma.${SERVICE_NAME}.docker.type=docker
- kuma.${SERVICE_NAME}.docker.docker_container=${SERVICE_NAME}
- kuma.${SERVICE_NAME}.docker.docker_host=1
restart: unless-stopped
networks:
ollama_network: