config_panel.toml 2.9 KB

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