Refactor swarm/librechat.yml to update traefik rule for librechat service

This commit is contained in:
2024-06-10 14:19:56 +08:00
parent bc34e91fe6
commit c07c840de4
2 changed files with 25 additions and 1 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ services:
- traefik.docker.network=traefik-public
- traefik.constraint-label=traefik-public
- 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.service=librechat_app
- traefik.http.services.librechat_app.loadbalancer.server.port=${PORT}