questions.yaml 28 KB

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