forked from mtusi2026/mtusi2026lab3
Реализовать лабораторную 3
This commit is contained in:
@@ -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%
|
||||
Reference in New Issue
Block a user