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 5930763 commit b8ad974
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions layer-api/infra/production/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
IS_GREEN=$(sudo docker ps | grep layer-api-blue) # 현재 실행중인 App이 blue인지 확인합니다.
DEFAULT_CONF=" /etc/nginx/nginx.conf"

echo IS_GREEN
echo $IS_GREEN

if [ -z $IS_GREEN ];then # blue라면

echo "### BLUE => GREEN ###"
Expand Down

0 comments on commit b8ad974

Please sign in to comment.