questions.yaml 26 KB

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