2023-05-26 19:09:08 +02:00
|
|
|
# https://github.com/YunoHost/example_ynh/blob/master/config_panel.toml.example
|
|
|
|
|
|
|
|
version = "1.0"
|
|
|
|
|
|
|
|
[main]
|
|
|
|
name.en = "Main configuration"
|
|
|
|
name.fr = "Configuration principale"
|
|
|
|
services = ["__APP__"]
|
|
|
|
|
|
|
|
[main.config]
|
|
|
|
name = "Configuration Options"
|
|
|
|
|
|
|
|
[main.config.default_from_email]
|
|
|
|
ask = "from email"
|
|
|
|
type = "email"
|
|
|
|
help = "Default email address to use for various automated emails."
|
2024-01-18 14:23:53 +01:00
|
|
|
bind = "default_from_email:__INSTALL_DIR__/settings.py"
|
2023-05-26 19:09:08 +02:00
|
|
|
|
|
|
|
[main.config.admin_email]
|
|
|
|
ask = "ADMIN email"
|
|
|
|
type = "email"
|
|
|
|
help = "EMail address for error emails."
|
2024-01-18 14:23:53 +01:00
|
|
|
bind = "admin_email:__INSTALL_DIR__/settings.py"
|
2023-05-26 19:09:08 +02:00
|
|
|
|
|
|
|
[main.config.debug_enabled]
|
|
|
|
ask = "DEBUG mode"
|
|
|
|
type = "boolean"
|
|
|
|
yes = "1"
|
|
|
|
no = "0"
|
|
|
|
help = "Should be never enabled in production!"
|
2024-01-18 14:23:53 +01:00
|
|
|
bind = "debug_enabled:__INSTALL_DIR__/settings.py"
|
2023-05-26 19:09:08 +02:00
|
|
|
|
|
|
|
[main.config.log_level]
|
|
|
|
type = "string"
|
|
|
|
ask = "Log Level"
|
|
|
|
choices = ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"]
|
|
|
|
default = "WARNING"
|
2024-01-18 14:23:53 +01:00
|
|
|
bind = "log_level:__INSTALL_DIR__/settings.py"
|