Skip to content

Commit

Permalink
[BE-INFRA] 기존 디비 ec2에 있는 도커를 dev ec2안으로 옮긴다 (#351)
Browse files Browse the repository at this point in the history
* refactor: 커밋 시점 수정

* refactor: 커밋 시점 수정

* refactor: 커밋 시점 수정

* refactor: 커밋 시점 변경

* refactor: 수정

* refactor: 스크립트 수정

* refactor: secret으로 변경 및 캐시 삭제

* refactor: 인덴트 제거

* chore: 서브 모듈 커밋 시점 변경
  • Loading branch information
unifolio0 authored Oct 11, 2024
1 parent 4c58a9b commit db8ab5d
Showing 1 changed file with 6 additions and 3 deletions.
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
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

0 comments on commit db8ab5d

Please sign in to comment.