Реализация лабораторной 2: PostgreSQL, сессии, Valkey-кэш
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Tmribob
2026-10-30 19:37:21 +03:00
parent 65003b6119
commit 3df9b09896
44 changed files with 3519 additions and 17 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
# Apply versioned migrations (idempotent, advisory-locked), then hand PID 1 to
# the server so SIGTERM reaches uvicorn directly and shutdown stays graceful.
set -eu
python -B -m src.migrate
exec python -B src/app.py