forked from mtusi2026/mtusi2026lab3
lab3: 2 API replicas behind nginx LB, idempotency, X-Instance-Id
This commit is contained in:
@@ -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%
|
||||
Reference in New Issue
Block a user