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