Skip to content

Commit

Permalink
docker container cpu 사용량 0.5로 제한
Browse files Browse the repository at this point in the history
  • Loading branch information
yunuo46 authored Mar 13, 2024
1 parent 2758318 commit 1194a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/BackEnd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ jobs:
docker pull ghcr.io/peageon/ssock:latest
docker stop ssock || true
docker rm ssock || true
docker run -d --name ssock --add-host host.docker.internal:host-gateway --restart always -p 3000:3000 --env-file .env --cpuset-cpus="0" ghcr.io/peageon/ssock:latest
docker run -d --name ssock --add-host host.docker.internal:host-gateway --restart always -p 3000:3000 --env-file .env --cpuset-cpus="0" --cpus=0.3 ghcr.io/peageon/ssock:latest

0 comments on commit 1194a9e

Please sign in to comment.