questions.yaml 32 KB

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