campaign version refinment, user locks, db repair

This commit is contained in:
2026-06-13 19:25:23 +02:00
parent fe5ac084b7
commit ffbddfc773
18 changed files with 896 additions and 39 deletions

View File

@@ -4,6 +4,10 @@ set -e
ROLE="${APP_ROLE:-api}"
if [ "$ROLE" = "api" ]; then
if [ "${RUN_DB_MIGRATIONS:-true}" = "true" ]; then
python -m app.db.migrate
fi
exec uvicorn app.main:app \
--host "${APP_HOST:-0.0.0.0}" \
--port "${APP_PORT:-8000}" \