Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE-INFRA] 기존 디비 ec2에 있는 도커를 dev ec2안으로 옮긴다 #351

Merged
merged 9 commits into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/Backend-CD-Dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
uses: ./.github/workflows/Backend-CI.yml
secrets: inherit


build:
needs: test
runs-on: dev
dwax1324 marked this conversation as resolved.
Show resolved Hide resolved
Expand Down Expand Up @@ -57,13 +56,17 @@ jobs:
if [ "$(docker ps -qa)" ]; then
docker rm -f $(docker ps -qa)
docker builder prune
else
echo "No containers to remove."
fi
docker pull ${{ secrets.DOCKER_DEV_MONGO_IMAGE }}
docker run -d --name pokerogue-mongo-db ${{ secrets.DOCKER_DEV_MONGO_IMAGE }}
docker pull ${{ secrets.DOCKER_DEV_SERVER_IMAGE }}
docker run -d -p 8080:8080 --name server \
--link pokerogue-mongo-db \
-e JAVA_OPTS="-XX:InitialRAMPercentage=70.0 -XX:MaxRAMPercentage=70.0" \
-e TZ=Asia/Seoul \
-e SPRING_PROFILES_ACTIVE=dev \
Expand Down
2 changes: 1 addition & 1 deletion backend/pokerogue/src/main/resources
Loading