forked from mtusi2026/mtusi2026lab5
feat: complete lab5 with async processing, worker, variants and resource limits
This commit is contained in:
@@ -88,6 +88,11 @@ services:
|
||||
condition: service_healthy
|
||||
migrator:
|
||||
condition: service_completed_successfully
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
|
||||
worker:
|
||||
build: .
|
||||
@@ -108,6 +113,11 @@ services:
|
||||
condition: service_healthy
|
||||
migrator:
|
||||
condition: service_completed_successfully
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
|
||||
nginx:
|
||||
image: nginx:1.25-alpine
|
||||
|
||||
Reference in New Issue
Block a user