ЛР4: S3-хранилище (MinIO) и вложения

This commit is contained in:
LOSYASH
2026-10-29 19:53:41 +03:00
parent ec540a1a72
commit 92ce8c9a59
70 changed files with 6622 additions and 45 deletions
+7
View File
@@ -0,0 +1,7 @@
@echo off
rem Failover hook (Windows): stop ONE api container whose short ID = TARGET_INSTANCE_ID.
if "%TARGET_INSTANCE_ID%"=="" exit /b 2
set CID=
for /f %%i in ('docker ps -q --filter "id=%TARGET_INSTANCE_ID%" --filter "label=com.docker.compose.service=api"') do set CID=%%i
if "%CID%"=="" exit /b 1
docker stop -t 8 %CID% >nul