1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/leed_ynh.git synced 2024-09-03 19:26:32 +02:00
leed_ynh/config_panel.json
2019-06-04 20:28:32 +02:00

75 lines
2.6 KiB
JSON

{
"name": "Leed configuration panel",
"version": "0.1",
"panel": [{
"name": "Leed configuration",
"id": "main",
"sections": [{
"name": "Public access",
"id": "is_public",
"options": [{
"name": "Is it a public app ?",
"id": "is_public",
"type": "bool",
"default": true
}]
},
{
"name": "Overwriting config files",
"id": "overwrite_files",
"options": [{
"name": "Overwrite the nginx config file ?",
"help": "If the file is overwritten, a backup will be created.",
"id": "overwrite_nginx",
"type": "bool",
"default": true
},
{
"name": "Overwrite the php-fpm config file ?",
"help": "If the file is overwritten, a backup will be created.",
"id": "overwrite_phpfpm",
"type": "bool",
"default": true
}]
},
{
"name": "Global configuration",
"id": "global_config",
"options": [{
"name": "Send HTML email to admin ?",
"help": "Allow app scripts to send HTML mails instead of plain text.",
"id": "email_type",
"type": "bool",
"default": true
}]
},
{
"name": "PHP-FPM configuration",
"id": "php_fpm_config",
"options": [{
"name": "Memory footprint of the service ?",
"help": "low <= 20Mb per pool. medium between 20Mb and 40Mb per pool. high > 40Mb per pool. Use specific to set a value with the following option.\n<br>We can't use a choices field for now. In the meantime please choose between one of this values:\n<br>low, medium, high, specific.",
"id": "footprint",
"type": "text",
"//": "\"choices\" : [\"low\", \"medium\", \"high\", \"specific\"]",
"default" : "low"
},
{
"name": "Memory footprint of the service ?",
"help": "Free field to specify exactly the footprint in Mb if you don't want to use one of the three previous values.",
"id": "free_footprint",
"type": "number",
"default": 0
},
{
"name": "Expected usage of the service ?",
"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.\n<br>medium: Low usage, few people or/and publicly accessible. Low RAM footprint, medium processor footprint when used.\n<br>high: High usage, frequently visited website. High RAM footprint, but lower on processor usage and quickly responding.\n<br>We can't use a choices field for now. In the meantime please choose between one of this values:\n<br>low, medium, high.",
"id": "usage",
"type": "text",
"//": "\"choices\" : [\"low\", \"medium\", \"high\"]",
"default" : "low"
}]
}]
}
]
}