local dev with sqlite, exposing port 8080

This commit is contained in:
2021-08-12 10:55:35 +03:00
parent fbb8a0e93d
commit 12c3f6a006
3 changed files with 4 additions and 4 deletions

View File

@@ -1,9 +1,9 @@
from pathlib import Path
from os import environ
PORT = 80
PORT = 8080
DB_URL = environ.get("DB_URL") or "postgresql://postgres:postgres@localhost/discours"
DB_URL = environ.get("DB_URL") or "sqlite:///database.sqlite3"
JWT_ALGORITHM = "HS256"
JWT_SECRET_KEY = "8f1bd7696ffb482d8486dfbc6e7d16dd-secret-key"
JWT_LIFE_SPAN = 24 * 60 * 60 # seconds