This commit is contained in:
2023-10-03 17:15:17 +03:00
commit f0c76a2e7e
19 changed files with 994 additions and 0 deletions

11
settings.py Normal file
View File

@@ -0,0 +1,11 @@
from os import environ
PORT = 8080
DB_URL = (
environ.get("DATABASE_URL")
or environ.get("DB_URL")
or "postgresql://postgres@localhost:5432/discoursio"
)
REDIS_URL = environ.get("REDIS_URL") or "redis://127.0.0.1"
API_BASE = environ.get("API_BASE") or ""
AUTH_URL = environ.get("AUTH_URL") or ""