From 304d8bcb65899a021a9c144f6d8111efcd24587e Mon Sep 17 00:00:00 2001 From: kalsteve Date: Wed, 24 Jul 2024 02:40:48 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=AC=B4=EC=A4=91=EB=8B=A8=20=EB=B0=B0?= =?UTF-8?q?=ED=8F=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start.sh b/scripts/start.sh index 42c0cd5..2cb6a88 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -45,7 +45,7 @@ init_container() { # 컨테이너 스위칭 함수 switch_container() { - local IS_BLUE=$(docker-compose -p "${DOCKER_APP_NAME}" -f ${PROJECT_ROOT}/docker-compose-deploy.yml ps | grep fastapi-blue) + local IS_BLUE=$(docker compose -p "${DOCKER_APP_NAME}" -f ${PROJECT_ROOT}/docker-compose-deploy.yml ps | grep fastapi-blue) # IS_BLUE 변수에 fastapi-blue가 없다면 if [ -z "$IS_BLUE" ]; then log_message "### GREEN => BLUE ###"