feat:report

This commit is contained in:
Оля Мороз
2026-11-16 20:30:12 +03:00
parent 90f407b174
commit c91ec7790f
37 changed files with 1159 additions and 209 deletions
+9
View File
@@ -10,6 +10,7 @@ x-api: &api
redis: { condition: service_healthy }
s3: { condition: service_healthy }
s3-init: { condition: service_completed_successfully }
migrate: { condition: service_completed_successfully }
networks: [backend]
services:
@@ -91,6 +92,12 @@ services:
limits:
cpus: "${API_CPU_PER_REPLICA:-0.5}"
memory: "${API_MEM_PER_REPLICA:-128M}"
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:8080/health/ready"]
interval: 10s
timeout: 3s
start_period: 20s
retries: 5
outbox:
<<: *api
@@ -98,6 +105,7 @@ services:
depends_on:
postgres: { condition: service_healthy }
redis: { condition: service_healthy }
migrate: { condition: service_completed_successfully }
deploy:
replicas: 1
resources:
@@ -110,6 +118,7 @@ services:
postgres: { condition: service_healthy }
redis: { condition: service_healthy }
s3: { condition: service_healthy }
migrate: { condition: service_completed_successfully }
deploy:
replicas: 2
resources: