6 lines
220 B
Batchfile
6 lines
220 B
Batchfile
@echo off
|
|
cd /d "%~dp0.."
|
|
if "%TARGET_INSTANCE_ID%"=="api1" (docker compose --env-file .env stop -t 1 api1 & exit /b)
|
|
if "%TARGET_INSTANCE_ID%"=="api2" (docker compose --env-file .env stop -t 1 api2 & exit /b)
|
|
exit /b 2
|