level 5 track 1

This commit is contained in:
2026-11-08 13:13:34 +03:00
parent eb4e00e412
commit 637d45c820
9 changed files with 1205 additions and 27 deletions
+6 -4
View File
@@ -38,8 +38,8 @@ services:
deploy:
resources:
limits:
cpus: "1.0"
memory: 512M
cpus: "${POSTGRES_CPUS:-1.0}"
memory: "${POSTGRES_MEMORY:-512M}"
reservations:
cpus: "0.25"
memory: 256M
@@ -77,8 +77,8 @@ services:
replicas: ${API_REPLICAS:-2}
resources:
limits:
cpus: "1.0"
memory: 256M
cpus: "${API_CPUS:-1.0}"
memory: "${API_MEMORY:-256M}"
reservations:
cpus: "0.25"
memory: 128M
@@ -90,6 +90,8 @@ services:
IDEMPOTENCY_TTL_SECONDS: ${IDEMPOTENCY_TTL_SECONDS:-86400}
DRAIN_SECONDS: ${DRAIN_SECONDS:-4}
SHUTDOWN_TIMEOUT_SECONDS: ${SHUTDOWN_TIMEOUT_SECONDS:-3}
DB_POOL_MIN: ${DB_POOL_MIN:-1}
DB_POOL_MAX: ${DB_POOL_MAX:-10}
secrets:
- source: postgres_password
uid: "10001"