ЛР3 на 4: HAProxy, реплики API, Idempotency-Key и failover.

Общие Redis-сессии и Postgres, X-Instance-Id, REPORT и DEFENSE.
This commit is contained in:
2026-12-01 21:54:37 +03:00
parent 51dae8c44a
commit 41af01ecad
45 changed files with 3519 additions and 692 deletions
+6
View File
@@ -0,0 +1,6 @@
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
gavrilenko-lab3-api-1 gavrilenko-lab3-api "/server" api 57 seconds ago Up 11 seconds (healthy) 8080/tcp
gavrilenko-lab3-api-2 gavrilenko-lab3-api "/server" api 57 seconds ago Up 28 seconds (healthy) 8080/tcp
gavrilenko-lab3-lb-1 haproxy:2.9.14-alpine "docker-entrypoint.s…" lb 55 seconds ago Up 48 seconds (healthy) 127.0.0.1:8080->8080/tcp
gavrilenko-lab3-postgres-1 postgres:16.6 "docker-entrypoint.s…" postgres About a minute ago Up 47 seconds (healthy) 127.0.0.1:5433->5432/tcp
gavrilenko-lab3-redis-1 redis:7.4.1 "docker-entrypoint.s…" redis About a minute ago Up 47 seconds (healthy) 127.0.0.1:6380->6379/tcp