Реализация лабораторной 2: PostgreSQL, сессии, Valkey-кэш
Skeleton contracts / contracts (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user