Use alembic for migrations
All checks were successful
ci/woodpecker/push/docker Pipeline was successful

This commit is contained in:
Oliver Traber 2024-04-20 13:33:42 +02:00
parent 5dd8ab3839
commit cf4d3788bd
Signed by: Bluemedia
GPG key ID: C0674B105057136C
4 changed files with 153 additions and 6 deletions

5
start.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
set -e
alembic upgrade head
gunicorn -k "uvicorn.workers.UvicornWorker" --bind "0.0.0.0:8000" app.main:app