Files
mtusi2026lab2/scripts/restart.cmd
T
kalibr456 8149a608f8
Skeleton contracts / contracts (pull_request) Canceled after 0s
2: PostgreSQL, вход Basic -> Bearer, сессии в Redis
2026-10-09 02:35:30 +03:00

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