ЛР 3 — БВТ-2302 — Сабитов — на 3

This commit is contained in:
2026-12-01 18:09:13 +03:00
parent 0ab3a341aa
commit d79bf5c481
36 changed files with 1944 additions and 36 deletions
+11
View File
@@ -0,0 +1,11 @@
@echo off
cd /d "%~dp0.."
if "%TARGET_INSTANCE_ID%"=="api1" goto stop
if "%TARGET_INSTANCE_ID%"=="api2" goto stop
echo Expected TARGET_INSTANCE_ID=api1 or api2
exit /b 2
:stop
docker compose --env-file .env stop -t 3 %TARGET_INSTANCE_ID%
if errorlevel 1 exit /b 1
>evidence\last-stopped.txt echo %TARGET_INSTANCE_ID%
exit /b 0