manifest.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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": "3.3.1~ynh6",
  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": ">= 3.6"
  22. },
  23. "multi_instance": false,
  24. "services": [
  25. "nginx",
  26. "php7.0-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. }
  86. }