questions.yaml 19 KB

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