lab3-4 оценка

This commit is contained in:
2026-10-21 13:31:36 +03:00
parent 0ab3a341aa
commit 093602c18b
38 changed files with 3483 additions and 41 deletions
+13
View File
@@ -0,0 +1,13 @@
@echo off
setlocal
set "CONTAINER_ID="
for /f "delims=" %%i in ('docker compose ps -q api 2^>nul') do (
set "CONTAINER_ID=%%i"
goto :stop_container
)
echo No API container found
exit /b 1
:stop_container
echo Stopping container %CONTAINER_ID%
docker stop "%CONTAINER_ID%"
endlocal