forked from mtusi2026/mtusi2026lab3
Добавить балансировку и идемпотентность для лабораторной 3.
Две реплики API за HAProxy, общий PostgreSQL и повтор сообщения без дубля.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user