mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-23 00:16:49 +00:00
Refactor traefik rule for librechat service in swarm/librechat.yml
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ services:
|
|||||||
- traefik.http.routers.librechat.rule=Host(`chat.${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:-3080}
|
||||||
mongodb:
|
mongodb:
|
||||||
image: mongo
|
image: mongo
|
||||||
restart: always
|
restart: always
|
||||||
|
|||||||
+2
-5
@@ -14,9 +14,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- traefik-public
|
- traefik-public
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
|
||||||
constraints:
|
|
||||||
- node.role == manager
|
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.docker.network=traefik-public
|
- traefik.docker.network=traefik-public
|
||||||
@@ -24,5 +21,5 @@ services:
|
|||||||
- traefik.http.routers.open-webui.entrypoints=https
|
- traefik.http.routers.open-webui.entrypoints=https
|
||||||
- traefik.http.routers.open-webui.rule=Host(`bot.${DOMAIN}`)
|
- traefik.http.routers.open-webui.rule=Host(`bot.${DOMAIN}`)
|
||||||
- traefik.http.routers.open-webui.tls.certresolver=le
|
- traefik.http.routers.open-webui.tls.certresolver=le
|
||||||
- traefik.http.routers.open-webui.service=open-webui
|
- traefik.http.routers.open-webui.service=open-webui_app
|
||||||
- traefik.http.services.open-webui.loadbalancer.server.port=${OPEN_WEBUI_PORT-8080}
|
- traefik.http.services.open-webui_app.loadbalancer.server.port=${OPEN_WEBUI_PORT:-8080}
|
||||||
|
|||||||
Reference in New Issue
Block a user