questions.yaml 29 KB

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