From 549026f677d19e3b423457c27314d806344d49d9 Mon Sep 17 00:00:00 2001 From: Ventz Petkov <901168+ventz@users.noreply.github.com> Date: Fri, 5 Apr 2024 19:32:51 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A6=20docs:=20Update=20`traefik.md`=20?= =?UTF-8?q?-=20Documentation=20Fix=20for=20edge=20case=20race=20condition?= =?UTF-8?q?=20(#2322)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sometimes Traefik created a race condition where LibreChat was up on tcp/3080, and while Traefik was up on tcp/443, it could not route to the LibreChat container due to the multiple interfaces -- depending on how they came up. This is easily solved by simply using one interface. --- docs/deployment/traefik.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/deployment/traefik.md b/docs/deployment/traefik.md index 86390936eb..6b6fed5b8f 100644 --- a/docs/deployment/traefik.md +++ b/docs/deployment/traefik.md @@ -37,7 +37,6 @@ services: - "traefik.http.routers.librechat.tls.certresolver=leresolver" - "traefik.http.services.librechat.loadbalancer.server.port=3080" networks: - - web - librechat_default volumes: - ./librechat.yaml:/app/librechat.yaml @@ -51,7 +50,7 @@ services: - "/var/run/docker.sock:/var/run/docker.sock:ro" - "./letsencrypt:/letsencrypt" networks: - - web + - librechat_default command: - "--log.level=DEBUG" - "--api.insecure=true"