questions.yaml 27 KB

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