lab2: PostgreSQL persistence, sessions, password KDF
Skeleton contracts / contracts (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
@echo off
|
||||
docker compose restart api postgres
|
||||
:wait
|
||||
docker compose exec -T api python -c "import urllib.request;urllib.request.urlopen('http://localhost:8080/health/ready',timeout=2)" >nul 2>&1
|
||||
if %errorlevel% neq 0 (
|
||||
timeout /t 1 /nobreak >nul
|
||||
goto wait
|
||||
)
|
||||
echo restart OK
|
||||
Executable → Regular
Reference in New Issue
Block a user