Skip to content

Commit

Permalink
test: 배포 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
mangowhoiscloud committed Sep 6, 2024
1 parent 57a0625 commit c8aced2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions utils/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@

runNetwork(){
# 네트워크가 존재하는지 확인
if [ -z "$(docker network ls | grep harpsharp)" ]
if [ -z "$(docker network ls | grep dream)" ]
then
echo "harpsharp 네트워크를 생성합니다."
echo "dream 네트워크를 생성합니다."
docker network create dream
else
echo "harpsharp 네트워크가 이미 존재합니다."
echo "dream 네트워크가 이미 존재합니다."
fi

if [ -z "$(docker network ls | grep datasource)" ]
then
echo "harpsharp 네트워크를 생성합니다."
echo "datasource 네트워크를 생성합니다."
docker network create datasource
else
echo "harpsharp 네트워크가 이미 존재합니다."
echo "datasource 네트워크가 이미 존재합니다."
fi
}

Expand Down

0 comments on commit c8aced2

Please sign in to comment.