Files

8 lines
338 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 all containers of the stand: api, postgres, redis. Volumes are kept (no down -v).
cd /d "%~dp0.."
docker compose restart || exit /b 1
exit /b 0