feat:level4

This commit is contained in:
Оля Мороз
2026-11-16 14:41:07 +03:00
parent 0a361367c7
commit 90f407b174
16 changed files with 1270 additions and 77 deletions
+23
View File
@@ -91,6 +91,29 @@ services:
limits:
cpus: "${API_CPU_PER_REPLICA:-0.5}"
memory: "${API_MEM_PER_REPLICA:-128M}"
outbox:
<<: *api
entrypoint: ["/app/outbox"]
depends_on:
postgres: { condition: service_healthy }
redis: { condition: service_healthy }
deploy:
replicas: 1
resources:
limits: { cpus: "0.2", memory: "64M" }
worker:
<<: *api
entrypoint: ["/app/worker"]
depends_on:
postgres: { condition: service_healthy }
redis: { condition: service_healthy }
s3: { condition: service_healthy }
deploy:
replicas: 2
resources:
limits: { cpus: "0.5", memory: "256M" }
migrate:
<<: *api