ЛР2: PostgreSQL + Valkey, сессии Basic/Bearer, миграции, compose, тесты, отчёт

This commit is contained in:
2026-10-15 19:17:22 +03:00
parent 65003b6119
commit 6808ed8c98
44 changed files with 2370 additions and 19 deletions
+18
View File
@@ -0,0 +1,18 @@
# Persistence: restart API + all state stores, keep volumes (make test-persistence)
## containers before
mtusi2026lab2-api-1 Up About a minute (healthy)
mtusi2026lab2-postgres-1 Up About a minute (healthy)
mtusi2026lab2-valkey-1 Up About a minute (healthy)
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
## containers after
mtusi2026lab2-api-1 Up 1 second (health: starting)
mtusi2026lab2-postgres-1 Up 1 second (health: starting)
mtusi2026lab2-valkey-1 Up 1 second (health: starting)
## volumes (still present, not removed)
mtusi2026lab2_pgdata
mtusi2026lab2_valkeydata