inbox/settings.py

11 lines
355 B
Python
Raw Normal View History

2023-10-03 14:15:17 +00:00
from os import environ
2024-01-25 09:25:52 +00:00
2024-02-17 10:31:05 +00:00
PORT = 8000
2024-01-25 09:25:52 +00:00
REDIS_URL = environ.get('REDIS_URL') or 'redis://127.0.0.1'
API_BASE = environ.get('API_BASE') or 'https://core.discours.io/'
AUTH_URL = environ.get('AUTH_URL') or 'https://auth.discours.io/'
MODE = environ.get('MODE') or 'production'
SENTRY_DSN = environ.get('SENTRY_DSN')
DEV_SERVER_PID_FILE_NAME = 'dev-server.pid'