Реализация с PostgreSQL и session-based auth

This commit is contained in:
2026-11-11 21:52:43 +03:00
parent e0195cab89
commit d96d8ecfc7
9 changed files with 681 additions and 282 deletions
+15
View File
@@ -0,0 +1,15 @@
@echo off
cd /d %~dp0\..
docker compose restart api postgres
set /a count=0
:check_loop
timeout /t 2 /nobreak >nul
curl -s -f http://localhost:8080/health/ready >nul 2>&1
if %errorlevel% equ 0 exit /b 0
set /a count+=1
if %count% lss 15 goto check_loop
echo API failed to become ready
exit /b 1