Добавить балансировку и идемпотентность для лабораторной 3.

Две реплики API за HAProxy, общий PostgreSQL и повтор сообщения без дубля.
This commit is contained in:
2026-11-13 07:30:46 +00:00
parent 0ab3a341aa
commit e0e1a1e6c1
21 changed files with 1997 additions and 14 deletions
+2
View File
@@ -11,3 +11,5 @@ SESSION_STORE=postgres
CACHE_URL_FILE=/run/secrets/cache_url
API_REPLICAS=2
IDEMPOTENCY_TTL_SECONDS=86400
# Local compose only. Put the real value in .env, never in git.
POSTGRES_PASSWORD=replace-with-a-local-password