questions.yaml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650
  1. groups:
  2. - name: Pi-Hole Configuration
  3. description: Configure Pi-Hole
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Pi-Hole
  6. - name: Network Configuration
  7. description: Configure Network for Pi-Hole
  8. - name: Storage Configuration
  9. description: Configure Storage for Pi-Hole
  10. - name: Labels Configuration
  11. description: Configure Labels for Pi-Hole
  12. - name: Resources Configuration
  13. description: Configure Resources for Pi-Hole
  14. questions:
  15. - variable: TZ
  16. group: Pi-Hole Configuration
  17. label: Timezone
  18. schema:
  19. type: string
  20. default: Etc/UTC
  21. required: true
  22. $ref:
  23. - definitions/timezone
  24. - variable: pihole
  25. label: ""
  26. group: Pi-Hole Configuration
  27. schema:
  28. type: dict
  29. attrs:
  30. - variable: web_password
  31. label: Web Password
  32. description: The password for Pi-Hole WebUI.
  33. schema:
  34. type: string
  35. default: ""
  36. private: true
  37. - variable: shm_size_mb
  38. label: Shared Memory Size (in MiB)
  39. schema:
  40. type: int
  41. default: 64
  42. min: 64
  43. max: 2048
  44. required: true
  45. - variable: additional_envs
  46. label: Additional Environment Variables
  47. schema:
  48. type: list
  49. default: []
  50. items:
  51. - variable: env
  52. label: Environment Variable
  53. schema:
  54. type: dict
  55. attrs:
  56. - variable: name
  57. label: Name
  58. schema:
  59. type: string
  60. required: true
  61. - variable: value
  62. label: Value
  63. schema:
  64. type: string
  65. - variable: network
  66. label: ""
  67. group: Network Configuration
  68. schema:
  69. type: dict
  70. attrs:
  71. - variable: web_port
  72. label: WebUI Port
  73. schema:
  74. type: dict
  75. attrs:
  76. - variable: bind_mode
  77. label: Port Bind Mode
  78. description: |
  79. The port bind mode.</br>
  80. - Publish: The port will be published on the host for external access.</br>
  81. - Expose: The port will be exposed for inter-container communication.</br>
  82. - None: The port will not be exposed or published.</br>
  83. Note: If the Dockerfile defines an EXPOSE directive,
  84. the port will still be exposed for inter-container communication regardless of this setting.
  85. schema:
  86. type: string
  87. default: "published"
  88. enum:
  89. - value: "published"
  90. description: Publish port on the host for external access
  91. - value: "exposed"
  92. description: Expose port for inter-container communication
  93. - value: ""
  94. description: None
  95. - variable: port_number
  96. label: Port Number
  97. schema:
  98. type: int
  99. default: 20720
  100. min: 1
  101. max: 65535
  102. required: true
  103. - variable: host_ips
  104. label: Host IPs
  105. description: IPs on the host to bind this port
  106. schema:
  107. type: list
  108. show_if: [["bind_mode", "=", "published"]]
  109. default: []
  110. items:
  111. - variable: host_ip
  112. label: Host IP
  113. schema:
  114. type: string
  115. required: true
  116. $ref:
  117. - definitions/node_bind_ip
  118. - variable: https_port
  119. label: HTTPS Port
  120. schema:
  121. type: dict
  122. attrs:
  123. - variable: bind_mode
  124. label: Port Bind Mode
  125. description: |
  126. The port bind mode.</br>
  127. - Publish: The port will be published on the host for external access.</br>
  128. - Expose: The port will be exposed for inter-container communication.</br>
  129. - None: The port will not be exposed or published.</br>
  130. Note: If the Dockerfile defines an EXPOSE directive,
  131. the port will still be exposed for inter-container communication regardless of this setting.
  132. schema:
  133. type: string
  134. default: ""
  135. enum:
  136. - value: "published"
  137. description: Publish port on the host for external access
  138. - value: "exposed"
  139. description: Expose port for inter-container communication
  140. - value: ""
  141. description: None
  142. - variable: port_number
  143. label: Port Number
  144. schema:
  145. type: int
  146. default: 30132
  147. min: 1
  148. max: 65535
  149. required: true
  150. - variable: host_ips
  151. label: Host IPs
  152. description: IPs on the host to bind this port
  153. schema:
  154. type: list
  155. show_if: [["bind_mode", "=", "published"]]
  156. default: []
  157. items:
  158. - variable: host_ip
  159. label: Host IP
  160. schema:
  161. type: string
  162. required: true
  163. $ref:
  164. - definitions/node_bind_ip
  165. - variable: dns_port
  166. label: DNS Port
  167. schema:
  168. type: dict
  169. show_if: [["host_network", "=", false]]
  170. attrs:
  171. - variable: bind_mode
  172. label: Port Bind Mode
  173. description: |
  174. The port bind mode.</br>
  175. - Publish: The port will be published on the host for external access.</br>
  176. - Expose: The port will be exposed for inter-container communication.</br>
  177. - None: The port will not be exposed or published.</br>
  178. Note: If the Dockerfile defines an EXPOSE directive,
  179. the port will still be exposed for inter-container communication regardless of this setting.
  180. schema:
  181. type: string
  182. default: "published"
  183. enum:
  184. - value: "published"
  185. description: Publish port on the host for external access
  186. - value: "exposed"
  187. description: Expose port for inter-container communication
  188. - value: ""
  189. description: None
  190. - variable: port_number
  191. label: Port Number
  192. schema:
  193. type: int
  194. show_if: [["bind_mode", "=", "published"]]
  195. default: 53
  196. min: 1
  197. max: 65535
  198. required: true
  199. - variable: host_ips
  200. label: Host IPs
  201. description: IPs on the host to bind this port
  202. schema:
  203. type: list
  204. show_if: [["bind_mode", "=", "published"]]
  205. default: []
  206. items:
  207. - variable: host_ip
  208. label: Host IP
  209. schema:
  210. type: string
  211. required: true
  212. $ref:
  213. - definitions/node_bind_ip
  214. - variable: host_network
  215. label: Host Network
  216. description: |
  217. Bind to the host network. It's recommended to keep this disabled.</br>
  218. Only enable this if you are going to use DHCP.
  219. schema:
  220. type: boolean
  221. default: false
  222. - variable: interface_name
  223. label: Interface Name
  224. description: The name of the physical interface to use for Pi-Hole.
  225. schema:
  226. type: string
  227. show_if: [["host_network", "=", true]]
  228. default: ""
  229. - variable: dns_listening_mode
  230. label: DNS Listening Mode
  231. description: The DNS listening mode for Pi-Hole.
  232. schema:
  233. type: string
  234. default: "single"
  235. show_if: [["host_network", "=", true], ["interface_name", "!=", ""]]
  236. required: true
  237. enum:
  238. - value: "single"
  239. description: Single
  240. - value: "bind"
  241. description: Bind
  242. - value: "all"
  243. description: All
  244. - variable: dhcp_config
  245. label: DHCP Configuration
  246. description: The configuration for DHCP.
  247. schema:
  248. type: dict
  249. show_if: [["host_network", "=", true]]
  250. attrs:
  251. - variable: dhcp_enabled
  252. label: DHCP
  253. description: Enable DHCP for Pi-Hole
  254. schema:
  255. type: boolean
  256. default: false
  257. - variable: start
  258. label: Start
  259. description: The start IP for DHCP.
  260. schema:
  261. type: ipaddr
  262. show_if: [["dhcp_enabled", "=", true]]
  263. cidr: false
  264. required: true
  265. default: ""
  266. - variable: end
  267. label: End
  268. description: The end IP for DHCP.
  269. schema:
  270. type: ipaddr
  271. show_if: [["dhcp_enabled", "=", true]]
  272. cidr: false
  273. required: true
  274. default: ""
  275. - variable: gateway
  276. label: Gateway
  277. description: The gateway for DHCP.
  278. schema:
  279. type: ipaddr
  280. show_if: [["dhcp_enabled", "=", true]]
  281. cidr: false
  282. required: true
  283. default: ""
  284. - variable: dns_opts
  285. label: DNS Options
  286. description: |
  287. DNS options for the container.</br>
  288. Format: key:value</br>
  289. Example: attempts:3
  290. schema:
  291. type: list
  292. default: []
  293. items:
  294. - variable: option
  295. label: Option
  296. schema:
  297. type: string
  298. required: true
  299. - variable: storage
  300. label: ""
  301. group: Storage Configuration
  302. schema:
  303. type: dict
  304. attrs:
  305. - variable: config
  306. label: Pi-Hole Config Storage
  307. description: The path to store Pi-Hole Config.
  308. schema:
  309. type: dict
  310. attrs:
  311. - variable: type
  312. label: Type
  313. description: |
  314. ixVolume: Is dataset created automatically by the system.</br>
  315. Host Path: Is a path that already exists on the system.
  316. schema:
  317. type: string
  318. required: true
  319. default: "ix_volume"
  320. enum:
  321. - value: "host_path"
  322. description: Host Path (Path that already exists on the system)
  323. - value: "ix_volume"
  324. description: ixVolume (Dataset created automatically by the system)
  325. - variable: ix_volume_config
  326. label: ixVolume Configuration
  327. description: The configuration for the ixVolume dataset.
  328. schema:
  329. type: dict
  330. show_if: [["type", "=", "ix_volume"]]
  331. $ref:
  332. - "normalize/ix_volume"
  333. attrs:
  334. - variable: acl_enable
  335. label: Enable ACL
  336. description: Enable ACL for the storage.
  337. schema:
  338. type: boolean
  339. default: false
  340. - variable: dataset_name
  341. label: Dataset Name
  342. description: The name of the dataset to use for storage.
  343. schema:
  344. type: string
  345. required: true
  346. hidden: true
  347. default: "config"
  348. - variable: acl_entries
  349. label: ACL Configuration
  350. schema:
  351. type: dict
  352. show_if: [["acl_enable", "=", true]]
  353. attrs: []
  354. - variable: host_path_config
  355. label: Host Path Configuration
  356. schema:
  357. type: dict
  358. show_if: [["type", "=", "host_path"]]
  359. attrs:
  360. - variable: acl_enable
  361. label: Enable ACL
  362. description: Enable ACL for the storage.
  363. schema:
  364. type: boolean
  365. default: false
  366. - variable: acl
  367. label: ACL Configuration
  368. schema:
  369. type: dict
  370. show_if: [["acl_enable", "=", true]]
  371. attrs: []
  372. $ref:
  373. - "normalize/acl"
  374. - variable: path
  375. label: Host Path
  376. description: The host path to use for storage.
  377. schema:
  378. type: hostpath
  379. show_if: [["acl_enable", "=", false]]
  380. required: true
  381. - variable: dnsmasq
  382. label: Pi-Hole DNSMASQ Configuration
  383. description: The path to store Pi-Hole DNSMASQ Config.
  384. schema:
  385. type: dict
  386. attrs:
  387. - variable: type
  388. label: Type
  389. description: |
  390. ixVolume: Is dataset created automatically by the system.</br>
  391. Host Path: Is a path that already exists on the system.
  392. schema:
  393. type: string
  394. required: true
  395. default: "ix_volume"
  396. enum:
  397. - value: "host_path"
  398. description: Host Path (Path that already exists on the system)
  399. - value: "ix_volume"
  400. description: ixVolume (Dataset created automatically by the system)
  401. - variable: ix_volume_config
  402. label: ixVolume Configuration
  403. description: The configuration for the ixVolume dataset.
  404. schema:
  405. type: dict
  406. show_if: [["type", "=", "ix_volume"]]
  407. $ref:
  408. - "normalize/ix_volume"
  409. attrs:
  410. - variable: acl_enable
  411. label: Enable ACL
  412. description: Enable ACL for the storage.
  413. schema:
  414. type: boolean
  415. default: false
  416. - variable: dataset_name
  417. label: Dataset Name
  418. description: The name of the dataset to use for storage.
  419. schema:
  420. type: string
  421. required: true
  422. hidden: true
  423. default: "dnsmasq"
  424. - variable: acl_entries
  425. label: ACL Configuration
  426. schema:
  427. type: dict
  428. show_if: [["acl_enable", "=", true]]
  429. attrs: []
  430. - variable: host_path_config
  431. label: Host Path Configuration
  432. schema:
  433. type: dict
  434. show_if: [["type", "=", "host_path"]]
  435. attrs:
  436. - variable: acl_enable
  437. label: Enable ACL
  438. description: Enable ACL for the storage.
  439. schema:
  440. type: boolean
  441. default: false
  442. - variable: acl
  443. label: ACL Configuration
  444. schema:
  445. type: dict
  446. show_if: [["acl_enable", "=", true]]
  447. attrs: []
  448. $ref:
  449. - "normalize/acl"
  450. - variable: path
  451. label: Host Path
  452. description: The host path to use for storage.
  453. schema:
  454. type: hostpath
  455. show_if: [["acl_enable", "=", false]]
  456. required: true
  457. - variable: additional_storage
  458. label: Additional Storage
  459. schema:
  460. type: list
  461. default: []
  462. items:
  463. - variable: storageEntry
  464. label: Storage Entry
  465. schema:
  466. type: dict
  467. attrs:
  468. - variable: type
  469. label: Type
  470. description: |
  471. ixVolume: Is dataset created automatically by the system.</br>
  472. Host Path: Is a path that already exists on the system.</br>
  473. SMB Share: Is a SMB share that is mounted to as a volume.
  474. schema:
  475. type: string
  476. required: true
  477. default: "ix_volume"
  478. enum:
  479. - value: "host_path"
  480. description: Host Path (Path that already exists on the system)
  481. - value: "ix_volume"
  482. description: ixVolume (Dataset created automatically by the system)
  483. - value: "cifs"
  484. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  485. - variable: read_only
  486. label: Read Only
  487. description: Mount the volume as read only.
  488. schema:
  489. type: boolean
  490. default: false
  491. - variable: mount_path
  492. label: Mount Path
  493. description: The path inside the container to mount the storage.
  494. schema:
  495. type: path
  496. required: true
  497. - variable: host_path_config
  498. label: Host Path Configuration
  499. schema:
  500. type: dict
  501. show_if: [["type", "=", "host_path"]]
  502. attrs:
  503. - variable: acl_enable
  504. label: Enable ACL
  505. description: Enable ACL for the storage.
  506. schema:
  507. type: boolean
  508. default: false
  509. - variable: acl
  510. label: ACL Configuration
  511. schema:
  512. type: dict
  513. show_if: [["acl_enable", "=", true]]
  514. attrs: []
  515. $ref:
  516. - "normalize/acl"
  517. - variable: path
  518. label: Host Path
  519. description: The host path to use for storage.
  520. schema:
  521. type: hostpath
  522. show_if: [["acl_enable", "=", false]]
  523. required: true
  524. - variable: ix_volume_config
  525. label: ixVolume Configuration
  526. description: The configuration for the ixVolume dataset.
  527. schema:
  528. type: dict
  529. show_if: [["type", "=", "ix_volume"]]
  530. $ref:
  531. - "normalize/ix_volume"
  532. attrs:
  533. - variable: acl_enable
  534. label: Enable ACL
  535. description: Enable ACL for the storage.
  536. schema:
  537. type: boolean
  538. default: false
  539. - variable: dataset_name
  540. label: Dataset Name
  541. description: The name of the dataset to use for storage.
  542. schema:
  543. type: string
  544. required: true
  545. default: "storage_entry"
  546. - variable: acl_entries
  547. label: ACL Configuration
  548. schema:
  549. type: dict
  550. show_if: [["acl_enable", "=", true]]
  551. attrs: []
  552. - variable: cifs_config
  553. label: SMB Configuration
  554. description: The configuration for the SMB dataset.
  555. schema:
  556. type: dict
  557. show_if: [["type", "=", "cifs"]]
  558. attrs:
  559. - variable: server
  560. label: Server
  561. description: The server to mount the SMB share.
  562. schema:
  563. type: string
  564. required: true
  565. - variable: path
  566. label: Path
  567. description: The path to mount the SMB share.
  568. schema:
  569. type: string
  570. required: true
  571. - variable: username
  572. label: Username
  573. description: The username to use for the SMB share.
  574. schema:
  575. type: string
  576. required: true
  577. - variable: password
  578. label: Password
  579. description: The password to use for the SMB share.
  580. schema:
  581. type: string
  582. required: true
  583. private: true
  584. - variable: domain
  585. label: Domain
  586. description: The domain to use for the SMB share.
  587. schema:
  588. type: string
  589. - variable: labels
  590. label: ""
  591. group: Labels Configuration
  592. schema:
  593. type: list
  594. default: []
  595. items:
  596. - variable: label
  597. label: Label
  598. schema:
  599. type: dict
  600. attrs:
  601. - variable: key
  602. label: Key
  603. schema:
  604. type: string
  605. required: true
  606. - variable: value
  607. label: Value
  608. schema:
  609. type: string
  610. required: true
  611. - variable: containers
  612. label: Containers
  613. description: Containers where the label should be applied
  614. schema:
  615. type: list
  616. items:
  617. - variable: container
  618. label: Container
  619. schema:
  620. type: string
  621. required: true
  622. enum:
  623. - value: pihole
  624. description: pihole
  625. - variable: resources
  626. label: ""
  627. group: Resources Configuration
  628. schema:
  629. type: dict
  630. attrs:
  631. - variable: limits
  632. label: Limits
  633. schema:
  634. type: dict
  635. attrs:
  636. - variable: cpus
  637. label: CPUs
  638. description: CPUs limit for Pihole.
  639. schema:
  640. type: int
  641. default: 2
  642. required: true
  643. - variable: memory
  644. label: Memory (in MB)
  645. description: Memory limit for Pihole.
  646. schema:
  647. type: int
  648. default: 4096
  649. required: true