Init first files

This commit is contained in:
2026-02-12 09:09:13 +01:00
parent 6535699b0e
commit d1d8ae43a4
61 changed files with 2424 additions and 0 deletions

15
backend/entrypoint.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env sh
set -e
echo "Waiting for database..."
python -m app.wait_for_db
echo "Running migrations..."
alembic upgrade head
echo "Starting API..."
exec gunicorn app.main:app \
-k uvicorn.workers.UvicornWorker \
--bind 0.0.0.0:8000 \
--workers 2 \
--timeout 60