Реализовать лабораторную 3

This commit is contained in:
Krep4334
2026-11-13 18:22:52 +03:00
parent 0ab3a341aa
commit 2a4242695f
23 changed files with 1121 additions and 40 deletions
+7
View File
@@ -0,0 +1,7 @@
@echo off
cd /d "%~dp0.."
if "%TARGET_INSTANCE_ID%"=="api-a" goto stop
if "%TARGET_INSTANCE_ID%"=="api-b" goto stop
exit /b 2
:stop
docker compose stop --timeout 5 %TARGET_INSTANCE_ID%