Refactor traefik rule for librechat service in swarm/librechat.yml

This commit is contained in:
2024-06-10 14:58:45 +08:00
parent 825697c134
commit 4ffd4dda5a
2 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ services:
- 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}
- traefik.http.services.librechat_app.loadbalancer.server.port=${PORT:-3080}
mongodb:
image: mongo
restart: always