ЛР 7: Безопасность, mTLS и OpenBao
Skeleton contracts / contracts (pull_request) Blocked by required conditions

This commit is contained in:
2026-12-05 18:23:13 +03:00
parent 20afc2c790
commit e7d7bbbe77
66 changed files with 4865 additions and 81 deletions
+13
View File
@@ -0,0 +1,13 @@
@echo off
setlocal
if not defined TARGET_INSTANCE_ID exit /b 2
set "PROJECT_DIR=%~dp0.."
for /f "delims=" %%i in ('docker compose --project-directory "%PROJECT_DIR%" --env-file "%PROJECT_DIR%\.env" ps -q api') do (
for /f "delims=" %%h in ('docker inspect --format "{{.Config.Hostname}}" %%i') do (
if /i "%%h"=="%TARGET_INSTANCE_ID%" (
docker stop %%i >nul
exit /b 0
)
)
)
exit /b 1