lab3: 2 API replicas behind nginx LB, idempotency, X-Instance-Id

This commit is contained in:
2026-11-16 23:20:53 +03:00
parent 0ab3a341aa
commit 77d0caedb1
25 changed files with 727 additions and 14 deletions
+7
View File
@@ -0,0 +1,7 @@
@echo off
if "%TARGET_INSTANCE_ID%"=="" (
echo TARGET_INSTANCE_ID is not set 1>&2
exit /b 2
)
docker compose --env-file .env stop %TARGET_INSTANCE_ID%
exit /b %errorlevel%