Skip to content

Commit

Permalink
59: Add hardware limits for workers.
Browse files Browse the repository at this point in the history
  • Loading branch information
lfse-slafleur committed Jul 3, 2024
1 parent dea3e32 commit 996bfc8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ services:
restart: unless-stopped
deploy:
replicas: 2
resources:
limits:
cpus: '4'
memory: 4gb
networks:
- omotes
environment: &grow_worker_env
Expand Down Expand Up @@ -170,6 +174,10 @@ services:
restart: unless-stopped
deploy:
replicas: 2
resources:
limits:
cpus: '4'
memory: 4gb
networks:
- omotes
environment:
Expand Down

0 comments on commit 996bfc8

Please sign in to comment.