forked from hiddify/HiddifyPanel-old
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.toml
50 lines (45 loc) · 1.68 KB
/
settings.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[default]
DEBUG = false
HIDDIFY_CONFIG_PATH="/opt/hiddify-config/"
FLASK_ADMIN_TEMPLATE_MODE = "bootstrap4"
FLASK_ADMIN_SWATCH = 'cerulean'
SQLALCHEMY_DATABASE_URI = 'sqlite:///development.db'
SECRET_KEY = "Pl3453Ch4ng3"
PASSWORD_SCHEMES = ['pbkdf2_sha512', 'md5_crypt']
EXTENSIONS = [
"flask_bootstrap:Bootstrap4",
"hiddifypanel.panel.database:init_app",
"hiddifypanel.panel.common:init_app",
"hiddifypanel.panel.user:init_app",
"hiddifypanel.panel.admin:init_app",
"hiddifypanel.panel.cli:init_app",
"hiddifypanel.panel.webui:init_app",
"hiddifypanel.panel.restapi:init_app",
]
[development]
EXTENSIONS = [
#"flask_debugtoolbar:DebugToolbarExtension",
"dynaconf_merge_unique" # to reuse extensions list from [default]
]
TEMPLATES_AUTO_RELOAD = true
DEBUG = true
DEBUG_TOOLBAR_ENABLED = true
DEBUG_TB_INTERCEPT_REDIRECTS = false
DEBUG_TB_PROFILER_ENABLED = true
DEBUG_TB_TEMPLATE_EDITOR_ENABLED = true
DEBUG_TB_PANELS = [
"flask_debugtoolbar.panels.versions.VersionDebugPanel",
"flask_debugtoolbar.panels.sqlalchemy.SQLAlchemyDebugPanel",
"flask_debugtoolbar.panels.timer.TimerDebugPanel",
"flask_debugtoolbar.panels.headers.HeaderDebugPanel",
"flask_debugtoolbar.panels.request_vars.RequestVarsDebugPanel",
"flask_debugtoolbar.panels.template.TemplateDebugPanel",
"flask_debugtoolbar.panels.route_list.RouteListDebugPanel",
"flask_debugtoolbar.panels.logger.LoggingPanel",
"flask_debugtoolbar.panels.profiler.ProfilerDebugPanel",
"flask_debugtoolbar.panels.config_vars.ConfigVarsDebugPanel"
]
[testing]
SQLALCHEMY_DATABASE_URI = 'sqlite:///testing.db'
[production]
SQLALCHEMY_DATABASE_URI = 'sqlite:///production.db'