fix db stuff
This commit is contained in:
parent
4915532e14
commit
fa37029e96
4 changed files with 9 additions and 3 deletions
4
backend/.dockerignore
Normal file
4
backend/.dockerignore
Normal file
|
@ -0,0 +1,4 @@
|
|||
.env
|
||||
.vscode
|
||||
.venv
|
||||
__pycache__
|
|
@ -6,5 +6,5 @@ TOKEN_URL="https://sso.example.org/application/o/token/"
|
|||
REDIRECT_URL="https://example.org/login-callback"
|
||||
SECRET_KEY=
|
||||
LOAD_INCLUSTER_CONFIG=false
|
||||
DATABASE_URL=sqlite:///database.db
|
||||
DATABASE_URL=sqlite:///db/database.db
|
||||
AUTHENTIK_BASEURL="https://sso.example.org/api/v3"
|
1
backend/.gitignore
vendored
1
backend/.gitignore
vendored
|
@ -8,4 +8,5 @@ __pycache__
|
|||
.envrc
|
||||
.direnv
|
||||
run_app.local.sh
|
||||
db/
|
||||
*.db
|
||||
|
|
|
@ -2,5 +2,6 @@
|
|||
|
||||
set -eu
|
||||
env
|
||||
mkdir -p db
|
||||
flask db upgrade
|
||||
gunicorn app:app -b 0.0.0.0:5000 --workers "$(nproc)" --reload --capture-output --enable-stdio-inheritance --log-level DEBUG
|
Loading…
Reference in a new issue