Skip to content

Commit

Permalink
trying to optimize docker to not crash
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Goggins <[email protected]>
  • Loading branch information
sgoggins committed Jul 24, 2023
1 parent 8888a20 commit 2ed00af
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,21 @@ services:
ports:
- 6379:6379
restart: always
deploy:
resources:
limits:
cpus: '3.00'
memory: 8G
pids: 40
reservations:
cpus: '2.00'
memory: 3G
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 8
window: 120s


flower:
build:
Expand Down

0 comments on commit 2ed00af

Please sign in to comment.