forked from mtusi2026/mtusi2026lab3
10 lines
441 B
Batchfile
10 lines
441 B
Batchfile
@echo off
|
|
rem Restart hook for tests/resilience.py on Windows (same as scripts/restart.sh).
|
|
rem Python on Windows cannot start .sh files directly (WinError 193), a .cmd file works.
|
|
rem Restarts the stores first, then all api replicas, then the balancer. Volumes are kept (no down -v).
|
|
cd /d "%~dp0.."
|
|
docker compose restart postgres redis || exit /b 1
|
|
docker compose restart api || exit /b 1
|
|
docker compose restart lb || exit /b 1
|
|
exit /b 0
|