Skip to content

Commit

Permalink
fix : networks 맞추기
Browse files Browse the repository at this point in the history
  • Loading branch information
KimMinWoooo committed Aug 28, 2024
1 parent 482f130 commit d87b4c9
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 export_network -p 8000:8000 -e PROJECT_NAME=ParseAI -e DATABASE_URL=mysql+aiomysql://root:qlalfqjsgh486@db:3306/moviedatabase ${{ env.DOCKER_HUB_USERNAME }}/ai:latest",
"sudo docker run -d --name backend --network export_network -p 8080:8080 -e SPRING_DATASOURCE_URL=jdbc:mysql://db:3306/moviedatabase?serverTimezone=Asia/Seoul -e SPRING_DATASOURCE_USERNAME=root -e SPRING_DATASOURCE_PASSWORD=qlalfqjsgh486 -e AI_SERVICE_URL=http://localhost: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@db: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://db:3306/moviedatabase?serverTimezone=Asia/Seoul -e SPRING_DATASOURCE_USERNAME=root -e SPRING_DATASOURCE_PASSWORD=qlalfqjsgh486 -e AI_SERVICE_URL=http://localhost:8000/api/v1 ${{ env.DOCKER_HUB_USERNAME }}/backend:latest"
]
}'
Expand Down

0 comments on commit d87b4c9

Please sign in to comment.