Лабораторная 5: брокер, worker, outbox, варианты изображений, тесты отказов (оценка 4)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
kalibr456
2026-10-24 15:53:17 +03:00
co-authored by Claude Opus 5.5
parent 276dbdad8a
commit fd6f85d94c
112 changed files with 10533 additions and 26 deletions
+8
View File
@@ -0,0 +1,8 @@
@echo off
rem Demo hook for the defense on Windows: scripts\worker.cmd stop ^| start ^| status (volumes are kept).
cd /d "%~dp0.."
if "%1"=="stop" ( docker compose stop worker & exit /b %ERRORLEVEL% )
if "%1"=="start" ( docker compose up -d --wait --no-recreate --no-build --no-deps worker & exit /b %ERRORLEVEL% )
if "%1"=="status" ( docker compose ps worker & exit /b %ERRORLEVEL% )
echo usage: %0 stop^|start^|status
exit /b 2