Реализация ЛР 3 на оценку 3: HAProxy, 2 реплики API, идемпотентность, evidence

This commit is contained in:
2026-11-10 01:26:52 +03:00
parent 0ab3a341aa
commit de55dd1d8a
29 changed files with 2032 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
# Перезапуск API и хранилищ с сохранением volume (никаких down -v).
set -eu
cd "$(dirname "$0")/.."
docker compose --env-file .env stop api
docker compose --env-file .env restart postgres valkey
docker compose --env-file .env start api