Skip to content

Commit

Permalink
chore: deploy 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
clean2001 committed Oct 29, 2024
1 parent c5c8a77 commit 957a812
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions layer-api/infra/production/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ if [ -z $IS_GREEN ];then # blue라면
echo "### BLUE => GREEN ###"

echo "1. get green image"
sudo docker-compose pull clean01/layer-server_layer-api:latest # green으로 이미지를 내려받습니다.

echo "2. green container up"
sudo docker-compose up -d green # green 컨테이너 실행
Expand All @@ -33,7 +32,7 @@ if [ -z $IS_GREEN ];then # blue라면
else
echo "1. get green image"
cd ./layer-api/infra/production
sudo docker-compose pull clean01/layer-server_layer-api:latest # green으로 이미지를 내려받습니다.


echo "2. blue container up"
sudo sdocker-compose up -d blue # green 컨테이너 실행
Expand Down

0 comments on commit 957a812

Please sign in to comment.