Skip to content

Commit

Permalink
chore : mongodb 연결을 위해 docker내 같은 네트워크상에서 동작하도록 파이프라인 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
suhyun0918 authored Jul 18, 2024
1 parent 4204424 commit 04e42f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/friendship-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
sudo docker rm friendship || true
# 새 friendship 컨테이너 실행
sudo docker run -d --log-driver=syslog -p 443:8080 --name friendship -e TZ=Asia/Seoul ${{ secrets.DOCKER_USERNAME }}/${{ env.APP_NAME }}:latest
sudo docker run -d --log-driver=syslog -p 443:8080 --name friendship --network friendship-network -e TZ=Asia/Seoul ${{ secrets.DOCKER_USERNAME }}/${{ env.APP_NAME }}:latest
# friendship 관련 종료된 컨테이너 삭제
sudo docker container prune -f
Expand Down

0 comments on commit 04e42f8

Please sign in to comment.