Skip to content

Commit 42f7f6e

Browse files
authored
Merge pull request #87 from Block-Guard/refactor/add-redis
[Fix] 배포 파일 수정
2 parents cbb2e96 + 6ce4d78 commit 42f7f6e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,12 @@ jobs:
6868
6969
docker stop $NEW_NAME || true
7070
docker rm $NEW_NAME || true
71-
docker run -d --name $NEW_NAME -p $NEW_PORT:8080 ${{ secrets.DOCKER_USERNAME }}/blockguard_server:latest
72-
71+
docker run -d \
72+
--name $NEW_NAME \
73+
-p $NEW_PORT:8080 \
74+
--add-host=host.docker.internal:host-gateway \
75+
${{ secrets.DOCKER_USERNAME }}/blockguard_server:latest
76+
7377
echo "헬스체크 시작"
7478
for i in $(seq 1 40); do
7579
STATUS=$(curl -s http://localhost:$NEW_PORT/actuator/health || true)

0 commit comments

Comments
 (0)