Refactor traefik.yml to update routing rules for chat and bot subdomains

This commit is contained in:
2024-05-30 21:06:33 +08:00
parent 347b9b9d76
commit a05c289aff
+2 -2
View File
@@ -763,7 +763,7 @@ services:
librechat_api: librechat_api:
ports: ports:
- "${PORT}:${PORT}" - "${PORT:-3080}:${PORT:-3080}"
depends_on: depends_on:
- mongodb - mongodb
- rag_api - rag_api
@@ -795,7 +795,7 @@ services:
- "traefik.http.routers.librechat.middlewares=csrf@file" - "traefik.http.routers.librechat.middlewares=csrf@file"
- "traefik.http.routers.librechat.tls.certresolver=letsencrypt" - "traefik.http.routers.librechat.tls.certresolver=letsencrypt"
- "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