Clear manifest data, option only available with the config panel Try to setup the config panel Set the version number
78 lines
2.9 KiB
TOML
78 lines
2.9 KiB
TOML
version = "1.0"
|
|
|
|
[main]
|
|
name = "My Webapp configuration"
|
|
|
|
[main.sftp]
|
|
name = "SFTP access"
|
|
|
|
[main.sftp.with_sftp]
|
|
ask = "Do you need a SFTP access?"
|
|
type = "boolean"
|
|
default = true
|
|
|
|
[main.sftp.password]
|
|
ask = "Set a password for the SFTP access"
|
|
type = "password"
|
|
optional = true
|
|
visible = "with_sftp"
|
|
help = "If a password already exist, leave blank and it will not be replaced."
|
|
|
|
[main.code_error]
|
|
name = "Html Custom error"
|
|
|
|
[main.code_error.custom_error_file]
|
|
ask = "Activate the custom error file use"
|
|
type = "boolean"
|
|
default = false
|
|
# default = "/404.html"
|
|
help = "you enable this, you can create a custom `404.html` file at the root of your app to act as the custom 404 error page"
|
|
|
|
[main.code_error.path_folder]
|
|
ask = "Specifie folder where your error file are sto"
|
|
type = "string"
|
|
default = "/"
|
|
help = "You can set where your error file are store in your www folder."
|
|
|
|
|
|
[main.php_fpm_config]
|
|
name = "PHP-FPM configuration"
|
|
|
|
[main.php_fpm_config.phpversion]
|
|
ask = "PHP version"
|
|
type = "select"
|
|
choices = ["none", "7.4", "8.0", "8.1", "8.2"]
|
|
default = "none"
|
|
|
|
[main.php_fpm_config.fpm_footprint]
|
|
visible = "phpversion != 'none'"
|
|
ask = "Memory footprint of the service?"
|
|
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' && phpversion != 'none'"
|
|
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]
|
|
visible = "phpversion != 'none'"
|
|
ask = "Expected usage of the service?"
|
|
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."
|
|
|
|
# TODO: Add protected_path as tags, which are created as permission "label (path)", so admin can protect a specific path
|
|
# [main.permissions]
|
|
# [main.permissions.proteced_path]
|
|
# ask = "Protected path"
|
|
# help = "A permission will be created so you can restrict the access to a subpath of the web app."
|
|
# type = "tags"
|
|
|