questions.yaml 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883
  1. groups:
  2. - name: Immich Configuration
  3. description: Configure Immich
  4. - name: Network Configuration
  5. description: Configure Network for Immich
  6. - name: Storage Configuration
  7. description: Configure Storage for Immich
  8. - name: Resources Configuration
  9. description: Configure Resources for Immich
  10. portals:
  11. web_portal:
  12. protocols:
  13. - "$kubernetes-resource_configmap_portal_protocol"
  14. host:
  15. - "$kubernetes-resource_configmap_portal_host"
  16. ports:
  17. - "$kubernetes-resource_configmap_portal_port"
  18. path: "$kubernetes-resource_configmap_portal_path"
  19. questions:
  20. - variable: TZ
  21. group: Immich Configuration
  22. label: Timezone
  23. schema:
  24. type: string
  25. default: Etc/UTC
  26. required: true
  27. $ref:
  28. - definitions/timezone
  29. - variable: immichConfig
  30. label: ""
  31. group: Immich Configuration
  32. schema:
  33. type: dict
  34. attrs:
  35. - variable: enableML
  36. label: Enable Machine Learning
  37. description: |
  38. Enable Machine Learning
  39. schema:
  40. type: boolean
  41. default: true
  42. - variable: mlImageType
  43. label: Machine Learning Image Type
  44. description: |
  45. The type of image to use for Machine Learning.
  46. schema:
  47. type: string
  48. default: mlImage
  49. enum:
  50. - value: mlImage
  51. description: Default Machine Learning Image
  52. - value: mlCudaImage
  53. description: Cuda Machine Learning Image
  54. - value: mlOpenvinoImage
  55. description: Openvino Machine Learning Image
  56. - variable: logLevel
  57. label: Log Level
  58. description: |
  59. The log level to use for Machine Learning.
  60. schema:
  61. type: string
  62. default: log
  63. enum:
  64. - value: verbose
  65. description: Verbose
  66. - value: debug
  67. description: Debug
  68. - value: log
  69. description: Log
  70. - value: warn
  71. description: Warn
  72. - value: error
  73. description: Error
  74. - variable: huggingFaceEndpoint
  75. label: Hugging Face Endpoint (Optional)
  76. description: |
  77. The Hugging Face endpoint to use for Machine Learning.
  78. schema:
  79. type: string
  80. default: ""
  81. - variable: immichNetwork
  82. label: ""
  83. group: Network Configuration
  84. schema:
  85. type: dict
  86. attrs:
  87. - variable: webuiPort
  88. label: Web Port
  89. description: The port for the Immich WebUI.
  90. schema:
  91. type: int
  92. default: 30041
  93. min: 9000
  94. max: 65535
  95. required: true
  96. - variable: immichStorage
  97. label: ""
  98. group: Storage Configuration
  99. schema:
  100. type: dict
  101. attrs:
  102. - variable: uploads
  103. label: Immich Uploads Storage
  104. description: The path to store Immich uploads.
  105. schema:
  106. type: dict
  107. attrs:
  108. - variable: type
  109. label: Type
  110. description: |
  111. ixVolume: Is dataset created automatically by the system.</br>
  112. Host Path: Is a path that already exists on the system.
  113. schema:
  114. type: string
  115. required: true
  116. immutable: true
  117. default: ixVolume
  118. enum:
  119. - value: hostPath
  120. description: Host Path (Path that already exists on the system)
  121. - value: ixVolume
  122. description: ixVolume (Dataset created automatically by the system)
  123. - variable: ixVolumeConfig
  124. label: ixVolume Configuration
  125. description: The configuration for the ixVolume dataset.
  126. schema:
  127. type: dict
  128. show_if: [["type", "=", "ixVolume"]]
  129. $ref:
  130. - "normalize/ixVolume"
  131. attrs:
  132. - variable: aclEnable
  133. label: Enable ACL
  134. description: Enable ACL for the dataset.
  135. schema:
  136. type: boolean
  137. default: false
  138. - variable: datasetName
  139. label: Dataset Name
  140. description: The name of the dataset to use for storage.
  141. schema:
  142. type: string
  143. required: true
  144. immutable: true
  145. hidden: true
  146. default: "uploads"
  147. - variable: aclEntries
  148. label: ACL Configuration
  149. schema:
  150. type: dict
  151. show_if: [["aclEnable", "=", true]]
  152. attrs: []
  153. - variable: hostPathConfig
  154. label: Host Path Configuration
  155. schema:
  156. type: dict
  157. show_if: [["type", "=", "hostPath"]]
  158. attrs:
  159. - variable: aclEnable
  160. label: Enable ACL
  161. description: Enable ACL for the dataset.
  162. schema:
  163. type: boolean
  164. default: false
  165. - variable: acl
  166. label: ACL Configuration
  167. schema:
  168. type: dict
  169. show_if: [["aclEnable", "=", true]]
  170. attrs: []
  171. $ref:
  172. - "normalize/acl"
  173. - variable: hostPath
  174. label: Host Path
  175. description: The host path to use for storage.
  176. schema:
  177. type: hostpath
  178. show_if: [["aclEnable", "=", false]]
  179. required: true
  180. - variable: library
  181. label: Immich Library Storage
  182. description: The path to store Immich Library.
  183. schema:
  184. type: dict
  185. attrs:
  186. - variable: type
  187. label: Type
  188. description: |
  189. ixVolume: Is dataset created automatically by the system.</br>
  190. Host Path: Is a path that already exists on the system.
  191. schema:
  192. type: string
  193. required: true
  194. immutable: true
  195. default: ixVolume
  196. enum:
  197. - value: hostPath
  198. description: Host Path (Path that already exists on the system)
  199. - value: ixVolume
  200. description: ixVolume (Dataset created automatically by the system)
  201. - variable: ixVolumeConfig
  202. label: ixVolume Configuration
  203. description: The configuration for the ixVolume dataset.
  204. schema:
  205. type: dict
  206. show_if: [["type", "=", "ixVolume"]]
  207. $ref:
  208. - "normalize/ixVolume"
  209. attrs:
  210. - variable: aclEnable
  211. label: Enable ACL
  212. description: Enable ACL for the dataset.
  213. schema:
  214. type: boolean
  215. default: false
  216. - variable: datasetName
  217. label: Dataset Name
  218. description: The name of the dataset to use for storage.
  219. schema:
  220. type: string
  221. required: true
  222. immutable: true
  223. hidden: true
  224. default: "library"
  225. - variable: aclEntries
  226. label: ACL Configuration
  227. schema:
  228. type: dict
  229. show_if: [["aclEnable", "=", true]]
  230. attrs: []
  231. - variable: hostPathConfig
  232. label: Host Path Configuration
  233. schema:
  234. type: dict
  235. show_if: [["type", "=", "hostPath"]]
  236. attrs:
  237. - variable: aclEnable
  238. label: Enable ACL
  239. description: Enable ACL for the dataset.
  240. schema:
  241. type: boolean
  242. default: false
  243. - variable: acl
  244. label: ACL Configuration
  245. schema:
  246. type: dict
  247. show_if: [["aclEnable", "=", true]]
  248. attrs: []
  249. $ref:
  250. - "normalize/acl"
  251. - variable: hostPath
  252. label: Host Path
  253. description: The host path to use for storage.
  254. schema:
  255. type: hostpath
  256. show_if: [["aclEnable", "=", false]]
  257. required: true
  258. - variable: thumbs
  259. label: Immich Thumbs Storage
  260. description: The path to store Immich Thumbs.
  261. schema:
  262. type: dict
  263. attrs:
  264. - variable: type
  265. label: Type
  266. description: |
  267. ixVolume: Is dataset created automatically by the system.</br>
  268. Host Path: Is a path that already exists on the system.
  269. schema:
  270. type: string
  271. required: true
  272. immutable: true
  273. default: ixVolume
  274. enum:
  275. - value: hostPath
  276. description: Host Path (Path that already exists on the system)
  277. - value: ixVolume
  278. description: ixVolume (Dataset created automatically by the system)
  279. - variable: ixVolumeConfig
  280. label: ixVolume Configuration
  281. description: The configuration for the ixVolume dataset.
  282. schema:
  283. type: dict
  284. show_if: [["type", "=", "ixVolume"]]
  285. $ref:
  286. - "normalize/ixVolume"
  287. attrs:
  288. - variable: aclEnable
  289. label: Enable ACL
  290. description: Enable ACL for the dataset.
  291. schema:
  292. type: boolean
  293. default: false
  294. - variable: datasetName
  295. label: Dataset Name
  296. description: The name of the dataset to use for storage.
  297. schema:
  298. type: string
  299. required: true
  300. immutable: true
  301. hidden: true
  302. default: "thumbs"
  303. - variable: aclEntries
  304. label: ACL Configuration
  305. schema:
  306. type: dict
  307. show_if: [["aclEnable", "=", true]]
  308. attrs: []
  309. - variable: hostPathConfig
  310. label: Host Path Configuration
  311. schema:
  312. type: dict
  313. show_if: [["type", "=", "hostPath"]]
  314. attrs:
  315. - variable: aclEnable
  316. label: Enable ACL
  317. description: Enable ACL for the dataset.
  318. schema:
  319. type: boolean
  320. default: false
  321. - variable: acl
  322. label: ACL Configuration
  323. schema:
  324. type: dict
  325. show_if: [["aclEnable", "=", true]]
  326. attrs: []
  327. $ref:
  328. - "normalize/acl"
  329. - variable: hostPath
  330. label: Host Path
  331. description: The host path to use for storage.
  332. schema:
  333. type: hostpath
  334. show_if: [["aclEnable", "=", false]]
  335. required: true
  336. - variable: profile
  337. label: Immich Profile Storage
  338. description: The path to store Immich Profile.
  339. schema:
  340. type: dict
  341. attrs:
  342. - variable: type
  343. label: Type
  344. description: |
  345. ixVolume: Is dataset created automatically by the system.</br>
  346. Host Path: Is a path that already exists on the system.
  347. schema:
  348. type: string
  349. required: true
  350. immutable: true
  351. default: ixVolume
  352. enum:
  353. - value: hostPath
  354. description: Host Path (Path that already exists on the system)
  355. - value: ixVolume
  356. description: ixVolume (Dataset created automatically by the system)
  357. - variable: ixVolumeConfig
  358. label: ixVolume Configuration
  359. description: The configuration for the ixVolume dataset.
  360. schema:
  361. type: dict
  362. show_if: [["type", "=", "ixVolume"]]
  363. $ref:
  364. - "normalize/ixVolume"
  365. attrs:
  366. - variable: aclEnable
  367. label: Enable ACL
  368. description: Enable ACL for the dataset.
  369. schema:
  370. type: boolean
  371. default: false
  372. - variable: datasetName
  373. label: Dataset Name
  374. description: The name of the dataset to use for storage.
  375. schema:
  376. type: string
  377. required: true
  378. immutable: true
  379. hidden: true
  380. default: "profile"
  381. - variable: aclEntries
  382. label: ACL Configuration
  383. schema:
  384. type: dict
  385. show_if: [["aclEnable", "=", true]]
  386. attrs: []
  387. - variable: hostPathConfig
  388. label: Host Path Configuration
  389. schema:
  390. type: dict
  391. show_if: [["type", "=", "hostPath"]]
  392. attrs:
  393. - variable: aclEnable
  394. label: Enable ACL
  395. description: Enable ACL for the dataset.
  396. schema:
  397. type: boolean
  398. default: false
  399. - variable: acl
  400. label: ACL Configuration
  401. schema:
  402. type: dict
  403. show_if: [["aclEnable", "=", true]]
  404. attrs: []
  405. $ref:
  406. - "normalize/acl"
  407. - variable: hostPath
  408. label: Host Path
  409. description: The host path to use for storage.
  410. schema:
  411. type: hostpath
  412. show_if: [["aclEnable", "=", false]]
  413. required: true
  414. - variable: video
  415. label: Immich Video Storage
  416. description: The path to store Immich Video.
  417. schema:
  418. type: dict
  419. attrs:
  420. - variable: type
  421. label: Type
  422. description: |
  423. ixVolume: Is dataset created automatically by the system.</br>
  424. Host Path: Is a path that already exists on the system.
  425. schema:
  426. type: string
  427. required: true
  428. immutable: true
  429. default: ixVolume
  430. enum:
  431. - value: hostPath
  432. description: Host Path (Path that already exists on the system)
  433. - value: ixVolume
  434. description: ixVolume (Dataset created automatically by the system)
  435. - variable: ixVolumeConfig
  436. label: ixVolume Configuration
  437. description: The configuration for the ixVolume dataset.
  438. schema:
  439. type: dict
  440. show_if: [["type", "=", "ixVolume"]]
  441. $ref:
  442. - "normalize/ixVolume"
  443. attrs:
  444. - variable: aclEnable
  445. label: Enable ACL
  446. description: Enable ACL for the dataset.
  447. schema:
  448. type: boolean
  449. default: false
  450. - variable: datasetName
  451. label: Dataset Name
  452. description: The name of the dataset to use for storage.
  453. schema:
  454. type: string
  455. required: true
  456. immutable: true
  457. hidden: true
  458. default: "video"
  459. - variable: aclEntries
  460. label: ACL Configuration
  461. schema:
  462. type: dict
  463. show_if: [["aclEnable", "=", true]]
  464. attrs: []
  465. - variable: hostPathConfig
  466. label: Host Path Configuration
  467. schema:
  468. type: dict
  469. show_if: [["type", "=", "hostPath"]]
  470. attrs:
  471. - variable: aclEnable
  472. label: Enable ACL
  473. description: Enable ACL for the dataset.
  474. schema:
  475. type: boolean
  476. default: false
  477. - variable: acl
  478. label: ACL Configuration
  479. schema:
  480. type: dict
  481. show_if: [["aclEnable", "=", true]]
  482. attrs: []
  483. $ref:
  484. - "normalize/acl"
  485. - variable: hostPath
  486. label: Host Path
  487. description: The host path to use for storage.
  488. schema:
  489. type: hostpath
  490. show_if: [["aclEnable", "=", false]]
  491. required: true
  492. - variable: pgData
  493. label: Immich Postgres Data Storage
  494. description: The path to store Immich Postgres Data.
  495. schema:
  496. type: dict
  497. attrs:
  498. - variable: type
  499. label: Type
  500. description: |
  501. ixVolume: Is dataset created automatically by the system.</br>
  502. Host Path: Is a path that already exists on the system.
  503. schema:
  504. type: string
  505. required: true
  506. immutable: true
  507. default: ixVolume
  508. enum:
  509. - value: hostPath
  510. description: Host Path (Path that already exists on the system)
  511. - value: ixVolume
  512. description: ixVolume (Dataset created automatically by the system)
  513. - variable: ixVolumeConfig
  514. label: ixVolume Configuration
  515. description: The configuration for the ixVolume dataset.
  516. schema:
  517. type: dict
  518. # Nothing to show for the user
  519. hidden: true
  520. show_if: [["type", "=", "ixVolume"]]
  521. $ref:
  522. - "normalize/ixVolume"
  523. attrs:
  524. - variable: aclEnable
  525. label: Enable ACL
  526. description: Enable ACL for the dataset.
  527. schema:
  528. type: boolean
  529. # Postgres does a CHMOD at startup
  530. # Which fails with ACL
  531. hidden: true
  532. default: false
  533. - variable: datasetName
  534. label: Dataset Name
  535. description: The name of the dataset to use for storage.
  536. schema:
  537. type: string
  538. required: true
  539. immutable: true
  540. hidden: true
  541. default: "pgData"
  542. - variable: aclEntries
  543. label: ACL Configuration
  544. schema:
  545. type: dict
  546. show_if: [["aclEnable", "=", true]]
  547. attrs: []
  548. - variable: hostPathConfig
  549. label: Host Path Configuration
  550. schema:
  551. type: dict
  552. show_if: [["type", "=", "hostPath"]]
  553. attrs:
  554. - variable: aclEnable
  555. label: Enable ACL
  556. description: Enable ACL for the dataset.
  557. schema:
  558. type: boolean
  559. # Postgres does a CHMOD at startup
  560. # Which fails with ACL
  561. hidden: true
  562. default: false
  563. - variable: acl
  564. label: ACL Configuration
  565. schema:
  566. type: dict
  567. show_if: [["aclEnable", "=", true]]
  568. attrs: []
  569. $ref:
  570. - "normalize/acl"
  571. - variable: hostPath
  572. label: Host Path
  573. description: The host path to use for storage.
  574. schema:
  575. type: hostpath
  576. show_if: [["aclEnable", "=", false]]
  577. required: true
  578. - variable: pgBackup
  579. label: Immich Postgres Backup Storage
  580. description: The path to store Immich Postgres Backup.
  581. schema:
  582. type: dict
  583. attrs:
  584. - variable: type
  585. label: Type
  586. description: |
  587. ixVolume: Is dataset created automatically by the system.</br>
  588. Host Path: Is a path that already exists on the system.
  589. schema:
  590. type: string
  591. required: true
  592. immutable: true
  593. default: ixVolume
  594. enum:
  595. - value: hostPath
  596. description: Host Path (Path that already exists on the system)
  597. - value: ixVolume
  598. description: ixVolume (Dataset created automatically by the system)
  599. - variable: ixVolumeConfig
  600. label: ixVolume Configuration
  601. description: The configuration for the ixVolume dataset.
  602. schema:
  603. type: dict
  604. # Nothing to show for the user
  605. hidden: true
  606. show_if: [["type", "=", "ixVolume"]]
  607. $ref:
  608. - "normalize/ixVolume"
  609. attrs:
  610. - variable: aclEnable
  611. label: Enable ACL
  612. description: Enable ACL for the dataset.
  613. schema:
  614. type: boolean
  615. # Postgres does a CHMOD at startup
  616. # Which fails with ACL
  617. hidden: true
  618. default: false
  619. - variable: datasetName
  620. label: Dataset Name
  621. description: The name of the dataset to use for storage.
  622. schema:
  623. type: string
  624. required: true
  625. immutable: true
  626. hidden: true
  627. default: "pgBackup"
  628. - variable: aclEntries
  629. label: ACL Configuration
  630. schema:
  631. type: dict
  632. show_if: [["aclEnable", "=", true]]
  633. attrs: []
  634. - variable: hostPathConfig
  635. label: Host Path Configuration
  636. schema:
  637. type: dict
  638. show_if: [["type", "=", "hostPath"]]
  639. attrs:
  640. - variable: aclEnable
  641. label: Enable ACL
  642. description: Enable ACL for the dataset.
  643. schema:
  644. type: boolean
  645. # Postgres does a CHMOD at startup
  646. # Which fails with ACL
  647. hidden: true
  648. default: false
  649. - variable: acl
  650. label: ACL Configuration
  651. schema:
  652. type: dict
  653. show_if: [["aclEnable", "=", true]]
  654. attrs: []
  655. $ref:
  656. - "normalize/acl"
  657. - variable: hostPath
  658. label: Host Path
  659. description: The host path to use for storage.
  660. schema:
  661. type: hostpath
  662. show_if: [["aclEnable", "=", false]]
  663. required: true
  664. - variable: additionalStorages
  665. label: Additional Storage
  666. description: Additional storage for Immich.
  667. schema:
  668. type: list
  669. default: []
  670. items:
  671. - variable: storageEntry
  672. label: Storage Entry
  673. schema:
  674. type: dict
  675. attrs:
  676. - variable: type
  677. label: Type
  678. description: |
  679. ixVolume: Is dataset created automatically by the system.</br>
  680. Host Path: Is a path that already exists on the system.</br>
  681. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  682. schema:
  683. type: string
  684. required: true
  685. default: "ixVolume"
  686. immutable: true
  687. enum:
  688. - value: "hostPath"
  689. description: Host Path (Path that already exists on the system)
  690. - value: "ixVolume"
  691. description: ixVolume (Dataset created automatically by the system)
  692. - value: "smb-pv-pvc"
  693. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  694. - variable: readOnly
  695. label: Read Only
  696. description: Mount the volume as read only.
  697. schema:
  698. type: boolean
  699. default: false
  700. - variable: mountPath
  701. label: Mount Path
  702. description: The path inside the container to mount the storage.
  703. schema:
  704. type: path
  705. required: true
  706. - variable: hostPathConfig
  707. label: Host Path Configuration
  708. schema:
  709. type: dict
  710. show_if: [["type", "=", "hostPath"]]
  711. attrs:
  712. - variable: aclEnable
  713. label: Enable ACL
  714. description: Enable ACL for the dataset.
  715. schema:
  716. type: boolean
  717. default: false
  718. - variable: acl
  719. label: ACL Configuration
  720. schema:
  721. type: dict
  722. show_if: [["aclEnable", "=", true]]
  723. attrs: []
  724. $ref:
  725. - "normalize/acl"
  726. - variable: hostPath
  727. label: Host Path
  728. description: The host path to use for storage.
  729. schema:
  730. type: hostpath
  731. show_if: [["aclEnable", "=", false]]
  732. required: true
  733. - variable: ixVolumeConfig
  734. label: ixVolume Configuration
  735. description: The configuration for the ixVolume dataset.
  736. schema:
  737. type: dict
  738. show_if: [["type", "=", "ixVolume"]]
  739. $ref:
  740. - "normalize/ixVolume"
  741. attrs:
  742. - variable: aclEnable
  743. label: Enable ACL
  744. description: Enable ACL for the dataset.
  745. schema:
  746. type: boolean
  747. default: false
  748. - variable: datasetName
  749. label: Dataset Name
  750. description: The name of the dataset to use for storage.
  751. schema:
  752. type: string
  753. required: true
  754. immutable: true
  755. default: "storage_entry"
  756. - variable: aclEntries
  757. label: ACL Configuration
  758. schema:
  759. type: dict
  760. show_if: [["aclEnable", "=", true]]
  761. attrs: []
  762. - variable: smbConfig
  763. label: SMB Share Configuration
  764. description: The configuration for the SMB Share.
  765. schema:
  766. type: dict
  767. show_if: [["type", "=", "smb-pv-pvc"]]
  768. attrs:
  769. - variable: server
  770. label: Server
  771. description: The server for the SMB share.
  772. schema:
  773. type: string
  774. required: true
  775. - variable: share
  776. label: Share
  777. description: The share name for the SMB share.
  778. schema:
  779. type: string
  780. required: true
  781. - variable: domain
  782. label: Domain (Optional)
  783. description: The domain for the SMB share.
  784. schema:
  785. type: string
  786. - variable: username
  787. label: Username
  788. description: The username for the SMB share.
  789. schema:
  790. type: string
  791. required: true
  792. - variable: password
  793. label: Password
  794. description: The password for the SMB share.
  795. schema:
  796. type: string
  797. required: true
  798. private: true
  799. - variable: size
  800. label: Size (in Gi)
  801. description: The size of the volume quota.
  802. schema:
  803. type: int
  804. required: true
  805. min: 1
  806. default: 1
  807. - variable: resources
  808. label: ""
  809. group: Resources Configuration
  810. schema:
  811. type: dict
  812. attrs:
  813. - variable: limits
  814. label: Limits
  815. schema:
  816. type: dict
  817. attrs:
  818. - variable: cpu
  819. label: CPU
  820. description: CPU limit for Immich.
  821. schema:
  822. type: string
  823. max_length: 6
  824. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  825. valid_chars_error: |
  826. Valid CPU limit formats are</br>
  827. - Plain Integer - eg. 1</br>
  828. - Float - eg. 0.5</br>
  829. - Milicpu - eg. 500m
  830. default: "4000m"
  831. required: true
  832. - variable: memory
  833. label: Memory
  834. description: Memory limit for Immich.
  835. schema:
  836. type: string
  837. max_length: 12
  838. valid_chars: "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$"
  839. valid_chars_error: |
  840. Valid Memory limit formats are</br>
  841. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  842. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  843. - Plain Integer in bytes - eg. 1024</br>
  844. - Exponent - eg. 134e6
  845. default: "8Gi"
  846. required: true
  847. - variable: immichGPU
  848. group: Resources Configuration
  849. label: GPU Configuration
  850. schema:
  851. type: dict
  852. $ref:
  853. - "definitions/gpuConfiguration"
  854. attrs: []
  855. - variable: immichGPUContainers
  856. group: Resources Configuration
  857. label: GPU Containers
  858. description: Select which containers should use GPU.
  859. schema:
  860. type: dict
  861. # This will only hide it if there are no GPUs available
  862. # but will still show if there are 0 GPUs selected.
  863. show_if: [["immichGPU", "!=", {}]]
  864. attrs:
  865. - variable: server
  866. label: Enable GPU for Server
  867. schema:
  868. type: boolean
  869. default: true
  870. - variable: machinelearning
  871. label: Enable GPU for Machine Learning
  872. schema:
  873. type: boolean
  874. default: true