Files
mtusi2026lab3/scripts/restart.cmd
T
2026-11-24 23:07: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
)