questions.yaml 19 KB

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