From 94e074aeaa568d24b4ea968ba0dd2701887c15cf Mon Sep 17 00:00:00 2001 From: choikang Date: Mon, 25 Aug 2025 22:17:42 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=EB=A1=9C=EA=B7=B8=EC=9D=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../timetoeat/global/auth/handler/LoginSuccessHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/example/timetoeat/global/auth/handler/LoginSuccessHandler.java b/src/main/java/com/example/timetoeat/global/auth/handler/LoginSuccessHandler.java index fb9f45a..69bf537 100644 --- a/src/main/java/com/example/timetoeat/global/auth/handler/LoginSuccessHandler.java +++ b/src/main/java/com/example/timetoeat/global/auth/handler/LoginSuccessHandler.java @@ -26,7 +26,7 @@ public class LoginSuccessHandler implements AuthenticationSuccessHandler { public void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication) throws IOException, ServletException { CustomOauth2User principal = (CustomOauth2User) authentication.getPrincipal(); if (principal.isSignupRequired()) { - response.sendRedirect("https://bab-muk-dang-client.vercel.app/"); + response.sendRedirect("https://bab-muk-dang-client.vercel.app/onboarding"); return; } From 2201e7b684f2870e4b002b3594a1e8116f048395 Mon Sep 17 00:00:00 2001 From: choikang Date: Mon, 25 Aug 2025 22:21:37 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EB=8F=84=EC=BB=A4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.prod.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 968fe95..ff8065d 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -12,7 +12,7 @@ services: rabbitmq: condition: service_healthy food-ai: - condition: service_started + condition: service_healthy socket: condition: service_started ports: @@ -81,7 +81,7 @@ services: container_name: food-ai networks: [ my-network ] healthcheck: - test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8000/healthz || exit 1"] + test: ["CMD", "python", "-c", "import urllib.request,sys; r=urllib.request.urlopen('http://127.0.0.1:8000/healthz', timeout=5); sys.exit(0 if r.getcode()==200 else 1)"] interval: 15s timeout: 5s retries: 12