9 lines
218 B
Batchfile
9 lines
218 B
Batchfile
@echo off
|
|
docker compose --env-file .env restart postgres api-1 api-2 lb
|
|
:wait
|
|
curl.exe -fsS http://localhost:8080/health/ready >nul 2>&1
|
|
if %errorlevel% neq 0 (
|
|
timeout /t 1 /nobreak >nul
|
|
goto wait
|
|
)
|
|
exit /b 0 |