mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
41 lines
1.7 KiB
TOML
41 lines
1.7 KiB
TOML
version = "1.0"
|
|
|
|
[main]
|
|
name = "BookStack configuration"
|
|
services = ["__APP__"]
|
|
|
|
[main.auth_config]
|
|
name = "Authentication configuration"
|
|
|
|
[main.auth_config.auth_method]
|
|
ask = "General authentication"
|
|
choices = ["standard", "ldap"]
|
|
default = "ldap"
|
|
help = "Select an authentication method to connect to BookStack."
|
|
bind = "AUTH_METHOD:/var/www/__APP__/.env"
|
|
|
|
[main.php_fpm_config]
|
|
name = "PHP-FPM configuration"
|
|
|
|
[main.php_fpm_config.fpm_footprint]
|
|
ask = "Memory footprint"
|
|
type = "select"
|
|
choices.low = "Low, <= 20Mb per pool"
|
|
choices.medium = "Medium, between 20Mb and 40Mb per pool"
|
|
choices.high = "High, > 40Mb per pool"
|
|
choices.specific = "Use specific value"
|
|
default = "low"
|
|
|
|
[main.php_fpm_config.fpm_free_footprint]
|
|
visible = "fpm_footprint == 'specific'"
|
|
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"
|
|
type = "select"
|
|
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."
|