inbox/settings.py

11 lines
353 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
2023-10-06 02:30:48 +00:00
PORT = 80
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'