Use alembic for migrations
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
This commit is contained in:
parent
5dd8ab3839
commit
cf4d3788bd
4 changed files with 153 additions and 6 deletions
5
start.sh
Executable file
5
start.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue