1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mediawiki_ynh.git synced 2024-09-03 19:46:05 +02:00
mediawiki_ynh/config_panel.toml
Tagada 8b421ae742 Apply suggestions from code review
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2023-07-28 16:18:18 +02:00

37 lines
1.6 KiB
TOML

version = "1.0"
[main]
name = "Mediawiki configuration"
[main.config]
name = "Configuration Options"
[main.config.create_account]
ask = "Create account"
type = "boolean"
yes = true
no = false
help = "Set to 'true' to allow account creation."
bind = "createaccount:__INSTALL_DIR__/LocalSettings.php"
[main.php_fpm_config]
name = "PHP-FPM configuration"
[main.php_fpm_config.fpm_footprint]
ask = "Memory footprint of the service?"
choices = ["low", "medium", "high", "specific"]
default = "low"
help = "low <= 20Mb per pool. medium between 20Mb and 40Mb per pool. high > 40Mb per pool.<br>Use specific to set a value with the following option."
[main.php_fpm_config.free_footprint]
ask = "Memory footprint of the service?"
type = "number"
default = "0"
help = "Free field to specify exactly the footprint in Mb if you don't want to use one of the three previous values."
[main.php_fpm_config.fpm_usage]
ask = "Expected usage of the service?"
choices = ["low", "medium", "high"]
default = "low"
help = "low: Personal usage, behind the SSO. No RAM footprint when not used, but the impact on the processor can be high if many users are using the service.<br>medium: Low usage, few people or/and publicly accessible. Low RAM footprint, medium processor footprint when used.<br>high: High usage, frequently visited website. High RAM footprint, but lower on processor usage and quickly responding."