2020-07-12 17:34:25 +02:00
|
|
|
USER_APP_NAME = "ContentDB"
|
2020-09-01 15:57:03 +02:00
|
|
|
SERVER_NAME = "localhost:5123"
|
2020-01-19 03:46:07 +01:00
|
|
|
BASE_URL = "http://" + SERVER_NAME
|
2018-03-18 18:43:30 +01:00
|
|
|
|
2020-01-19 03:46:07 +01:00
|
|
|
SECRET_KEY = ""
|
|
|
|
WTF_CSRF_SECRET_KEY = ""
|
2018-03-18 18:43:30 +01:00
|
|
|
|
2022-01-27 19:21:47 +01:00
|
|
|
SQLALCHEMY_DATABASE_URI = "postgresql://contentdb:password@db:5432/contentdb"
|
2020-01-23 01:19:04 +01:00
|
|
|
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
2018-03-18 19:05:53 +01:00
|
|
|
|
|
|
|
GITHUB_CLIENT_ID = ""
|
|
|
|
GITHUB_CLIENT_SECRET = ""
|
2018-03-23 18:05:07 +01:00
|
|
|
|
2024-03-30 17:52:17 +01:00
|
|
|
# Optional, used for an admin action - import user ids from GitHub
|
|
|
|
GITHUB_API_TOKEN = ""
|
|
|
|
|
2020-01-19 03:46:07 +01:00
|
|
|
REDIS_URL = 'redis://redis:6379'
|
|
|
|
CELERY_BROKER_URL = 'redis://redis:6379'
|
|
|
|
CELERY_RESULT_BACKEND = 'redis://redis:6379'
|
2018-03-23 18:33:34 +01:00
|
|
|
|
2020-01-19 03:46:07 +01:00
|
|
|
MAIL_USERNAME = ""
|
|
|
|
MAIL_PASSWORD = ""
|
|
|
|
USER_EMAIL_SENDER_NAME = ""
|
|
|
|
USER_EMAIL_SENDER_EMAIL = ""
|
|
|
|
MAIL_DEFAULT_SENDER = ""
|
|
|
|
MAIL_SERVER = ""
|
|
|
|
MAIL_PORT = 587
|
|
|
|
MAIL_USE_TLS = True
|
|
|
|
|
|
|
|
UPLOAD_DIR = "/var/cdb/uploads/"
|
|
|
|
THUMBNAIL_DIR = "/var/cdb/thumbnails/"
|
2020-01-18 02:20:32 +01:00
|
|
|
|
2021-08-17 22:16:43 +02:00
|
|
|
DISCORD_WEBHOOK_FEED = None
|
|
|
|
DISCORD_WEBHOOK_QUEUE = None
|
|
|
|
|
2020-04-21 21:35:05 +02:00
|
|
|
TEMPLATES_AUTO_RELOAD = False
|
|
|
|
LOG_SQL = False
|
|
|
|
|
2023-01-03 13:17:01 +01:00
|
|
|
BLOCKED_DOMAINS = []
|
2024-07-30 00:13:46 +02:00
|
|
|
LINK_CHECKER_IGNORED_URLS = ["liberapay.com"]
|
2024-03-04 19:05:16 +01:00
|
|
|
|
|
|
|
ADMIN_CONTACT_URL = ""
|
|
|
|
MONITORING_URL = None
|