Complete lab 7 security infrastructure
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Yuliiiaaaa
2026-11-30 21:23:07 +03:00
parent 20afc2c790
commit c00d245263
55 changed files with 3515 additions and 28 deletions
+15
View File
@@ -0,0 +1,15 @@
@echo off
setlocal
cd /d "%~dp0\.."
if /I "%TARGET_INSTANCE_ID%"=="replica-a" (
docker compose --env-file .env stop --timeout 1 api1 api1-mtls
exit /b %ERRORLEVEL%
)
if /I "%TARGET_INSTANCE_ID%"=="replica-b" (
docker compose --env-file .env stop --timeout 1 api2 api2-mtls
exit /b %ERRORLEVEL%
)
exit /b 2