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
|
|
|
|
2020-09-01 15:57:03 +02:00
|
|
|
SQLALCHEMY_DATABASE_URI = "postgres://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
|
|
|
|
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
|
|
|
USER_ENABLE_USERNAME = True
|
2018-05-14 00:48:04 +02:00
|
|
|
USER_ENABLE_REGISTER = False
|
|
|
|
USER_ENABLE_CHANGE_USERNAME = False
|
2018-05-23 22:12:52 +02:00
|
|
|
|
2020-09-01 16:25:52 +02:00
|
|
|
USER_ENABLE_EMAIL = False
|
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
|
|
|
|
MAIL_UTILS_ERROR_SEND_TO = [""]
|
|
|
|
|
|
|
|
UPLOAD_DIR = "/var/cdb/uploads/"
|
|
|
|
THUMBNAIL_DIR = "/var/cdb/thumbnails/"
|
2020-01-18 02:20:32 +01:00
|
|
|
|
2020-04-21 21:35:05 +02:00
|
|
|
TEMPLATES_AUTO_RELOAD = False
|
|
|
|
LOG_SQL = False
|
|
|
|
|
2019-07-29 22:44:39 +02:00
|
|
|
LANGUAGES = {
|
|
|
|
'en': 'English',
|
|
|
|
}
|