12 lines
309 B
Python
12 lines
309 B
Python
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 ""
|