Лабораторная 3: реализован стенд с балансировщиком и идемпотентностью

This commit is contained in:
2026-11-22 16:11:18 +03:00
parent 0ab3a341aa
commit 752995515f
31 changed files with 1576 additions and 23 deletions
+9
View File
@@ -0,0 +1,9 @@
@echo off
REM Stop exactly ONE API replica selected by TARGET_INSTANCE_ID. Leave it stopped.
if "%TARGET_INSTANCE_ID%"=="" (
echo TARGET_INSTANCE_ID not set
exit /b 2
)
cd /d "%~dp0.."
docker compose stop --timeout 5 %TARGET_INSTANCE_ID%
exit /b 0