config_panel.toml.example 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. version = "0.1"
  2. name = "PiHole configuration panel"
  3. [main]
  4. name = "PiHole configuration"
  5. [main.overwrite_files]
  6. name = "Overwriting config files"
  7. [main.overwrite_files.overwrite_setupvars]
  8. ask = "Overwrite the config file setupVars.conf?"
  9. type = "boolean"
  10. default = true
  11. help = "If the file is overwritten, a backup will be created."
  12. [main.overwrite_files.overwrite_ftl]
  13. ask = "Overwrite the config file pihole-FTL.conf?"
  14. type = "boolean"
  15. default = true
  16. help = "If the file is overwritten, a backup will be created."
  17. [main.overwrite_files.overwrite_nginx]
  18. ask = "Overwrite the nginx config file?"
  19. type = "boolean"
  20. default = true
  21. help = "If the file is overwritten, a backup will be created."
  22. [main.overwrite_files.overwrite_phpfpm]
  23. ask = "Overwrite the php-fpm config file?"
  24. type = "boolean"
  25. default = true
  26. help = "If the file is overwritten, a backup will be created."
  27. [main.global_config]
  28. name = "Global configuration"
  29. [main.global_config.email_type]
  30. ask = "Send HTML email to admin?"
  31. type = "boolean"
  32. default = true
  33. help = "Allow app scripts to send HTML mails instead of plain text."
  34. [main.php_fpm_config]
  35. name = "PHP-FPM configuration"
  36. [main.php_fpm_config.footprint]
  37. ask = "Memory footprint of the service?"
  38. choices = ["low", "medium", "high", "specific"]
  39. default = "low"
  40. 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."
  41. [main.php_fpm_config.free_footprint]
  42. ask = "Memory footprint of the service?"
  43. type = "number"
  44. default = "0"
  45. help = "Free field to specify exactly the footprint in Mb if you don't want to use one of the three previous values."
  46. [main.php_fpm_config.usage]
  47. ask = "Expected usage of the service?"
  48. choices = ["low", "medium", "high"]
  49. default = "low"
  50. 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."
  51. [main.php_fpm_config.force_max_children]
  52. ask = "Force the value of pm.max_children?"
  53. type = "number"
  54. default = "0"
  55. help = "Do not change this value unless you're sure about what you're doing !<br>pm.max_children is automatically defined by this formula: $max_ram / 2 / $footprint<br>You can force that value, and ignore the formula by changing the value here.<br>To reset to the default value, set to 0."