mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-22 16:06:51 +00:00
Refactor swarm/librechat.yml to update traefik rule for librechat service
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ services:
|
|||||||
- traefik.docker.network=traefik-public
|
- traefik.docker.network=traefik-public
|
||||||
- traefik.constraint-label=traefik-public
|
- traefik.constraint-label=traefik-public
|
||||||
- traefik.http.routers.librechat.entrypoints=https
|
- traefik.http.routers.librechat.entrypoints=https
|
||||||
- traefik.http.routers.librechat.rule=Host(`chat.${DOMAIN}`) || Host(`bot.${DOMAIN}`)
|
- traefik.http.routers.librechat.rule=Host(`chat.${DOMAIN}`)
|
||||||
- traefik.http.routers.librechat.tls.certresolver=le
|
- traefik.http.routers.librechat.tls.certresolver=le
|
||||||
- traefik.http.routers.librechat.service=librechat_app
|
- traefik.http.routers.librechat.service=librechat_app
|
||||||
- traefik.http.services.librechat_app.loadbalancer.server.port=${PORT}
|
- traefik.http.services.librechat_app.loadbalancer.server.port=${PORT}
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
networks:
|
||||||
|
traefik-public:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
services:
|
||||||
|
open-webui:
|
||||||
|
image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main}
|
||||||
|
container_name: open-webui
|
||||||
|
volumes:
|
||||||
|
- /var/data/open-webui:/app/backend/data
|
||||||
|
extra_hosts:
|
||||||
|
- host.docker.internal:host-gateway
|
||||||
|
networks:
|
||||||
|
- traefik-public
|
||||||
|
deploy:
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.docker.network=traefik-public
|
||||||
|
- traefik.constraint-label=traefik-public
|
||||||
|
- traefik.http.routers.open-webui.entrypoints=https
|
||||||
|
- traefik.http.routers.open-webui.rule=Host(`bot.${DOMAIN}`)
|
||||||
|
- traefik.http.routers.open-webui.tls.certresolver=le
|
||||||
|
- traefik.http.routers.open-webui.service=open-webui
|
||||||
|
- traefik.http.services.open-webui.loadbalancer.server.port=${OPEN_WEBUI_PORT-8080}
|
||||||
Reference in New Issue
Block a user