lab2: PostgreSQL, Flyway migrations, Basic->Bearer sessions, evidence
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
altngg
2026-11-12 17:43:40 +03:00
parent 65003b6119
commit 12a3496bc6
23 changed files with 931 additions and 34 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
if [ ! -f .env ]; then
cp .env.example .env
fi
docker compose --env-file .env restart
for i in $(seq 1 60); do
if wget -q --spider http://localhost:8080/health/ready 2>/dev/null; then
exit 0
fi
sleep 1
done
exit 1