fix(deploy): add reservations to workers in optical-dev — prevent limit < reservation OOM error
whisper-worker base has reservation 4G, optical-dev limit 2G causes Docker error. Added explicit reservations to all three pipeline workers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d5e63129dd
commit
5e55d9f27a
1 changed files with 9 additions and 0 deletions
|
|
@ -81,6 +81,9 @@ services:
|
|||
limits:
|
||||
memory: 1G
|
||||
cpus: '0.5'
|
||||
reservations:
|
||||
memory: 256M
|
||||
cpus: '0.1'
|
||||
|
||||
tts-worker:
|
||||
deploy:
|
||||
|
|
@ -89,6 +92,9 @@ services:
|
|||
limits:
|
||||
memory: 512M
|
||||
cpus: '0.25'
|
||||
reservations:
|
||||
memory: 128M
|
||||
cpus: '0.1'
|
||||
|
||||
whisper-worker:
|
||||
deploy:
|
||||
|
|
@ -97,3 +103,6 @@ services:
|
|||
limits:
|
||||
memory: 2G
|
||||
cpus: '0.5'
|
||||
reservations:
|
||||
memory: 512M
|
||||
cpus: '0.25'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue