questions.yaml 23 KB

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