Лабораторная 5

This commit is contained in:
2026-11-24 17:58:42 +03:00
parent 276dbdad8a
commit 3938900ec6
40 changed files with 3130 additions and 27 deletions
+13
View File
@@ -0,0 +1,13 @@
@echo off
setlocal
cd /d "%~dp0.."
if /I "%TARGET_INSTANCE_ID%"=="api-1" (
docker compose stop api1
exit /b %errorlevel%
)
if /I "%TARGET_INSTANCE_ID%"=="api-2" (
docker compose stop api2
exit /b %errorlevel%
)
echo Unknown TARGET_INSTANCE_ID 1>&2
exit /b 1