forked from mtusi2026/mtusi2026lab2
8 lines
186 B
Batchfile
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
|
|
) |