lab3 completed

This commit is contained in:
kuruoni
2026-11-24 23:07:02 +03:00
parent 0ab3a341aa
commit 06e12d8734
26 changed files with 1034 additions and 33 deletions
+14
View File
@@ -0,0 +1,14 @@
@echo off
setlocal
set "REPLICA=%~1"
if "%REPLICA%"=="" set "REPLICA=api1"
if not "%REPLICA%"=="api1" if not "%REPLICA%"=="api2" (
echo Usage: stop-one.bat [api1^|api2]
exit /b 1
)
docker compose stop %REPLICA%
exit /b %ERRORLEVEL%