ЛР2 на 4: PostgreSQL, Argon2id, Redis-сессии и persistence.
Skeleton contracts / contracts (pull_request) Blocked by required conditions

Compose-стенд, student-tests (expiry/EXPLAIN), REPORT и шпаргалка DEFENSE.
This commit is contained in:
2026-12-01 21:50:51 +03:00
parent 65003b6119
commit de4cf3debd
26 changed files with 3265 additions and 27 deletions
Executable
+18
View File
@@ -0,0 +1,18 @@
#!/bin/sh
# Поднять локальный стенд lab2 из корня репозитория.
set -eu
ROOT=$(CDPATH= cd -- "$(dirname "$0")/.." && pwd)
cd "$ROOT"
test -f .env || cp -n .env.example .env
docker compose --env-file .env config --quiet
docker compose --env-file .env up -d --build
echo "ждём http://127.0.0.1:8080/health/ready …"
for i in $(seq 1 60); do
if curl -sf http://127.0.0.1:8080/health/ready >/dev/null; then
echo "ready"
exit 0
fi
sleep 2
done
echo "timeout waiting for ready" >&2
exit 1