Skip to content

Commit

Permalink
Merge pull request #55 from ethpandaops/feat/add-docker-resource-limits
Browse files Browse the repository at this point in the history
feat: Add resource limits for the service deployment
  • Loading branch information
samcm authored Jan 16, 2025
2 parents bc3beee + 37f670b commit 085ef71
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,9 @@ services:
- "host.docker.internal:host-gateway"
volumes:
- ${CONTRIBUTOOR_CONFIG_PATH}/config.yaml:/config/config.yaml:ro
restart: always
restart: always
deploy:
resources:
limits:
cpus: '0.5'
memory: 1024M

0 comments on commit 085ef71

Please sign in to comment.