From 264550c778843c0ca8636cb406ea41138e2c4a22 Mon Sep 17 00:00:00 2001 From: Sejeong Kim Date: Thu, 31 Oct 2024 00:57:04 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20docker-compse=20=ED=85=8C=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layer-api/infra/production/deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layer-api/infra/production/deploy.sh b/layer-api/infra/production/deploy.sh index 0fa7225d..2915f889 100644 --- a/layer-api/infra/production/deploy.sh +++ b/layer-api/infra/production/deploy.sh @@ -9,6 +9,7 @@ if [ -z $IS_GREEN ];then # blue라면 echo "### BLUE => GREEN ###" echo "1. get green image" + cd ./layer-api/infra/production echo "2. green container up" sudo docker-compose -f docker-compose-green.yaml up -d @@ -31,7 +32,7 @@ if [ -z $IS_GREEN ];then # blue라면 echo "5. blue container down" sudo sudo docker-compose -f docker-compose-blue.yaml down else - echo "### BLUE => GREEN ###" + echo "### GREEN => BLUE ###" echo "1. get blue image" cd ./layer-api/infra/production