2022-04-20 01:27:52 +02:00
|
|
|
"""An example for a Haldis config"""
|
2023-04-19 23:48:59 +02:00
|
|
|
# import os
|
2015-03-31 20:15:22 +02:00
|
|
|
|
2019-09-05 03:33:29 +02:00
|
|
|
|
2020-01-26 19:48:31 +01:00
|
|
|
class Configuration:
|
2019-09-10 15:17:35 +02:00
|
|
|
"Haldis configuration object"
|
2020-01-26 19:48:31 +01:00
|
|
|
# pylint: disable=too-few-public-methods
|
2019-09-05 03:33:29 +02:00
|
|
|
SQLALCHEMY_DATABASE_URI = "sqlite:///haldis.db"
|
2023-04-19 23:48:59 +02:00
|
|
|
# MARIADB_HOST = os.environ.get("MARIADB_HOST")
|
|
|
|
# MARIADB_DB = os.environ.get("MARIADB_DATABASE")
|
|
|
|
# MARIADB_USER = os.environ.get("MARIADB_USER")
|
|
|
|
# MARIADB_PASS = os.environ.get("MARIADB_PASSWORD")
|
|
|
|
# SQLALCHEMY_DATABASE_URI = f"mysql+pymysql://{MARIADB_USER}:{MARIADB_PASS}@{MARIADB_HOST}/{MARIADB_DB}"
|
2017-01-06 12:05:31 +01:00
|
|
|
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
2015-03-31 20:15:22 +02:00
|
|
|
DEBUG = True
|
2022-05-20 19:32:59 +02:00
|
|
|
HALDIS_ADMINS = []
|
2019-09-05 03:33:29 +02:00
|
|
|
SECRET_KEY = "<change>"
|
2019-09-11 22:38:01 +02:00
|
|
|
SLACK_WEBHOOK = None
|
2019-09-05 03:33:29 +02:00
|
|
|
LOGFILE = "haldis.log"
|
2022-10-27 19:47:12 +02:00
|
|
|
SENTRY_DSN = None
|
2019-09-05 03:33:29 +02:00
|
|
|
ZEUS_KEY = "tomtest"
|
|
|
|
ZEUS_SECRET = "blargh"
|
2022-04-20 01:34:19 +02:00
|
|
|
|
|
|
|
ENABLE_MICROSOFT_AUTH = False
|
2022-04-20 01:27:52 +02:00
|
|
|
MICROSOFT_AUTH_ID = ""
|
|
|
|
MICROSOFT_AUTH_SECRET = ""
|