feat: complete lab5 with async processing, worker, variants and resource limits

This commit is contained in:
2026-11-11 21:50:58 +03:00
parent 4df4307367
commit 2d18329ed1
2 changed files with 95 additions and 90 deletions
+10
View File
@@ -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