From f7f0383739375085dc8dc8483ff1b45950d06020 Mon Sep 17 00:00:00 2001 From: choikang Date: Mon, 25 Aug 2025 22:12:50 +0900 Subject: [PATCH] =?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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 4eed25d..968fe95 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -81,8 +81,7 @@ services: container_name: food-ai networks: [ my-network ] healthcheck: - test: ["CMD", "python", "-c", "import urllib.request, sys; \ - sys.exit(0) if urllib.request.urlopen('http://127.0.0.1:8000/health').status==200 else sys.exit(1)"] + test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8000/healthz || exit 1"] interval: 15s timeout: 5s retries: 12