Files
mtusi2026lab2-fork/scripts/restart.cmd
T
2026-11-14 04:50:02 +03:00

8 lines
186 B
Batchfile

@echo off
docker compose restart
:wait
curl -fsS http://127.0.0.1:8080/health/ready | findstr /C:"\"status\":\"ok\"" >nul
if errorlevel 1 (
timeout /t 1 /nobreak >nul
goto wait
)