Skip to content

Commit

Permalink
workflows 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
KimMinWoooo committed Aug 30, 2024
1 parent 6e971b1 commit b94f9ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
"sudo docker pull ${{ env.DOCKER_HUB_USERNAME }}/ai:latest",
"sudo docker stop backend ai || true",
"sudo docker rm backend ai || true",
"sudo docker run -d --name ai --network ec2-user_export_network -p 8000:8000 -e PROJECT_NAME=ParseAI -e DATABASE_URL=mysql+aiomysql://root:qlalfqjsgh486@172.21.0.3:3306/moviedatabase ${{ env.DOCKER_HUB_USERNAME }}/ai:latest",
"sudo docker run -d --name backend --network ec2-user_export_network -p 8080:8080 -e SPRING_DATASOURCE_URL=jdbc:mysql://172.21.0.3:3306/moviedatabase?serverTimezone=Asia/Seoul -e SPRING_DATASOURCE_USERNAME=root -e SPRING_DATASOURCE_PASSWORD=qlalfqjsgh486 -e AI_SERVICE_URL=http://172.21.0.4:8000/api/v1 ${{ env.DOCKER_HUB_USERNAME }}/backend:latest"
"sudo docker run -d --name ai --network ec2-user_export_network -p 8000:8000 -e PROJECT_NAME=ParseAI -e DATABASE_URL=mysql+aiomysql://root:qlalfqjsgh486@172.20.0.3:3306/moviedatabase ${{ env.DOCKER_HUB_USERNAME }}/ai:latest",
"sudo docker run -d --name backend --network ec2-user_export_network -p 8080:8080 -e SPRING_DATASOURCE_URL=jdbc:mysql://172.20.0.3:3306/moviedatabase?serverTimezone=Asia/Seoul -e SPRING_DATASOURCE_USERNAME=root -e SPRING_DATASOURCE_PASSWORD=qlalfqjsgh486 -e AI_SERVICE_URL=http://172.20.0.5:8000/api/v1 ${{ env.DOCKER_HUB_USERNAME }}/backend:latest"
]
}'
# # Crawling 서비스 배포 (SSH를 통한 직접 배포)
Expand Down

0 comments on commit b94f9ca

Please sign in to comment.