Skip to content

Commit

Permalink
chore: docker-compse 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
clean2001 committed Oct 30, 2024
1 parent 052d7d7 commit 264550c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layer-api/infra/production/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 264550c

Please sign in to comment.