manifest.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "name": "Pi-hole",
  3. "id": "pihole",
  4. "packaging_format": 1,
  5. "description": {
  6. "en": "Network-wide ad blocking via your own DNS server.",
  7. "fr": "Filtrage publicitaire sur l'ensemble du réseau via votre propre serveur DNS."
  8. },
  9. "version": "5.3.1~ynh1",
  10. "url": "https://pi-hole.net/",
  11. "license": "EUPL-1.2",
  12. "maintainer": {
  13. "name": "",
  14. "email": ""
  15. },
  16. "previous_maintainers": [{
  17. "name": "Maniack Crudelis",
  18. "email": "maniackc_dev@crudelis.fr"
  19. }],
  20. "requirements": {
  21. "yunohost": ">= 4.2.7"
  22. },
  23. "multi_instance": false,
  24. "services": [
  25. "nginx",
  26. "php7.3-fpm"
  27. ],
  28. "arguments": {
  29. "install" : [
  30. {
  31. "name": "domain",
  32. "type": "domain",
  33. "ask": {
  34. "en": "Choose a domain for the admin interface of Pi-hole",
  35. "fr": "Choisissez un domaine pour l'interface admin de Pi-hole"
  36. },
  37. "example": "domain.org"
  38. },
  39. {
  40. "name": "path",
  41. "type": "path",
  42. "ask": {
  43. "en": "Choose a path for the admin interface of Pi-hole",
  44. "fr": "Choisissez un chemin pour l'interface admin de Pi-hole"
  45. },
  46. "example": "/pihole",
  47. "default": "/pihole"
  48. },
  49. {
  50. "name": "admin",
  51. "type": "user",
  52. "ask": {
  53. "en": "Choose the Pi-hole administrator (must be an existing YunoHost user)",
  54. "fr": "Administrateur de Pi-hole (doit être un utilisateur YunoHost existant)"
  55. },
  56. "example": "john"
  57. },
  58. {
  59. "name": "query_logging",
  60. "type": "boolean",
  61. "ask": {
  62. "en": "Do you want to log queries ?",
  63. "fr": "Voulez-vous enregistrer les requêtes dns ?"
  64. },
  65. "help": {
  66. "en": "Keeping this option deactivate will render graphs on the admin page useless. But will respect the privacy of the other users.",
  67. "fr": "Garder cette option désactivée rendra les graphiques sur la page d'administration inutiles. Mais respectera la vie privée des autres utilisateurs."
  68. },
  69. "default": false
  70. },
  71. {
  72. "name": "enable_dhcp",
  73. "type": "boolean",
  74. "ask": {
  75. "en": "Do you want to set Pi-hole as your DHCP server ?",
  76. "fr": "Voulez-vous utiliser Pi-hole an tant que serveur DHCP ?"
  77. },
  78. "help": {
  79. "en": "If you want to do that, <a href=https://github.com/YunoHost-Apps/pihole_ynh/blob/master/dhcp.md target=_blank>you really have to read this before</a> !",
  80. "fr": "Si vous voulez faire ça, <a href=https://github.com/YunoHost-Apps/pihole_ynh/blob/master/dhcp.md target=_blank>vous devez vraiment lire cela avant</a> !"
  81. },
  82. "default": false
  83. },
  84. {
  85. "name": "pihole_version",
  86. "type": "string",
  87. "ask": {
  88. "en": "Which version of Pi-Hole do you want to install ?",
  89. "fr": "Quelle version de Pi-Hole voulez-vous installer ?"
  90. },
  91. "help": {
  92. "en": "The last 3.X version is the last version available with the Debian version of dnsmasq.",
  93. "fr": "The last available version will replace the Debian version of dnsmasq by FTLDNS.<br>See the readme for more information."
  94. },
  95. "choices": ["Last 3.X","Last available"],
  96. "default": "Last 3.X"
  97. }
  98. ]
  99. }
  100. }