Skip to content

Commit

Permalink
Merge pull request #189 from Leets-Official/config/#188-도커-컨테이너-메모리-조정
Browse files Browse the repository at this point in the history
[config] #188 컨테이너의 최대 메모리를 1.5GB로 수정
  • Loading branch information
jj0526 authored Feb 12, 2025
2 parents a60bf13 + 4f2cc44 commit adcf90f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
touch ./application-s3.yml
echo "${{ secrets.YML_S3 }}" > ./application-s3.yml
shell: bash

# 환경별 yml 파일 생성(6) - rabbitMQ
- name: make application-mq.yml
if: |
Expand Down Expand Up @@ -145,7 +145,12 @@ jobs:
fi
sudo docker pull ${{ secrets.DOCKER_USER_NAME }}/eatmate
sudo docker run --name spring -d -p 8080:8080 -e TZ=Asia/Seoul ${{ secrets.DOCKER_USER_NAME }}/eatmate
sudo docker run --name spring \
-d \
-p 8080:8080 \
-e TZ=Asia/Seoul \
-e JAVA_OPTS="-Xms256m -Xmx1g" \
${{ secrets.DOCKER_USER_NAME }}/eatmate
sudo docker image prune -a -f
debug: true # Enable debugging output

Expand Down

0 comments on commit adcf90f

Please sign in to comment.