fix(infra): align cold-start limits and retain failure diagnostics

This commit is contained in:
2026-11-20 18:21:37 +03:00
parent 2c7b89bb8e
commit a19e8053a7
4 changed files with 68 additions and 13 deletions
+8 -2
View File
@@ -89,8 +89,14 @@ services:
s3-bootstrap:
condition: service_completed_successfully
cpus: ${API_CPUS:-0.5}
mem_limit: ${API_MEMORY:-384m}
memswap_limit: ${API_MEMORY:-384m}
mem_limit: ${API_MEMORY:-768m}
memswap_limit: ${API_MEMORY:-768m}
healthcheck:
test: [CMD, python, -c, "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/health/ready',timeout=2).read()"]
interval: 3s
timeout: 3s
start_period: 30s
retries: 12
pids_limit: 128
read_only: true
tmpfs: