questions.yaml 27 KB

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