lab3: выполнение и доказательтсва

This commit is contained in:
kalibr456
2026-10-14 20:29:41 +03:00
parent 0ab3a341aa
commit 3410871c41
66 changed files with 4266 additions and 17 deletions
+9
View File
@@ -0,0 +1,9 @@
@echo off
rem Restart hook for tests/resilience.py on Windows (same as scripts/restart.sh).
rem Python on Windows cannot start .sh files directly (WinError 193), a .cmd file works.
rem Restarts the stores first, then all api replicas, then the balancer. Volumes are kept (no down -v).
cd /d "%~dp0.."
docker compose restart postgres redis || exit /b 1
docker compose restart api || exit /b 1
docker compose restart lb || exit /b 1
exit /b 0