questions.yaml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562
  1. groups:
  2. - name: qBittorrent Configuration
  3. description: Configure qBittorrent
  4. - name: User and Group Configuration
  5. description: Configure User and Group for qBittorrent
  6. - name: Network Configuration
  7. description: Configure Network for qBittorrent
  8. - name: Storage Configuration
  9. description: Configure Storage for qBittorrent
  10. - name: Labels Configuration
  11. description: Configure Labels for qBittorrent
  12. - name: Resources Configuration
  13. description: Configure Resources for qBittorrent
  14. questions:
  15. - variable: TZ
  16. group: qBittorrent Configuration
  17. label: Timezone
  18. schema:
  19. type: string
  20. default: Etc/UTC
  21. required: true
  22. $ref:
  23. - definitions/timezone
  24. - variable: qbittorrent
  25. label: ""
  26. group: qBittorrent Configuration
  27. schema:
  28. type: dict
  29. attrs:
  30. - variable: image_selector
  31. label: Image Selector
  32. description: Select the image to use for qBittorrent.
  33. schema:
  34. type: string
  35. default: image
  36. required: true
  37. enum:
  38. - value: image
  39. description: v5.x.x image.
  40. - value: v4_image
  41. description: v4.x.x image.
  42. - variable: additional_envs
  43. label: Additional Environment Variables
  44. schema:
  45. type: list
  46. default: []
  47. items:
  48. - variable: env
  49. label: Environment Variable
  50. schema:
  51. type: dict
  52. attrs:
  53. - variable: name
  54. label: Name
  55. schema:
  56. type: string
  57. required: true
  58. - variable: value
  59. label: Value
  60. schema:
  61. type: string
  62. - variable: run_as
  63. label: ""
  64. group: User and Group Configuration
  65. schema:
  66. type: dict
  67. attrs:
  68. - variable: user
  69. label: User ID
  70. description: The user id that qBittorrent files will be owned by.
  71. schema:
  72. type: int
  73. min: 568
  74. default: 568
  75. required: true
  76. - variable: group
  77. label: Group ID
  78. description: The group id that qBittorrent files will be owned by.
  79. schema:
  80. type: int
  81. min: 568
  82. default: 568
  83. required: true
  84. - variable: network
  85. label: ""
  86. group: Network Configuration
  87. schema:
  88. type: dict
  89. attrs:
  90. - variable: web_port
  91. label: WebUI Port
  92. schema:
  93. type: dict
  94. attrs:
  95. - variable: bind_mode
  96. label: Port Bind Mode
  97. description: |
  98. The port bind mode.</br>
  99. - Publish: The port will be published on the host for external access.</br>
  100. - Expose: The port will be exposed for inter-container communication.</br>
  101. - None: The port will not be exposed or published.</br>
  102. Note: If the Dockerfile defines an EXPOSE directive,
  103. the port will still be exposed for inter-container communication regardless of this setting.
  104. schema:
  105. type: string
  106. default: "published"
  107. enum:
  108. - value: "published"
  109. description: Publish port on the host for external access
  110. - value: "exposed"
  111. description: Expose port for inter-container communication
  112. - value: ""
  113. description: None
  114. - variable: port_number
  115. label: Port Number
  116. schema:
  117. type: int
  118. default: 30024
  119. min: 1
  120. max: 65535
  121. required: true
  122. - variable: host_ips
  123. label: Host IPs
  124. description: IPs on the host to bind this port
  125. schema:
  126. type: list
  127. show_if: [["bind_mode", "=", "published"]]
  128. default: []
  129. items:
  130. - variable: host_ip
  131. label: Host IP
  132. schema:
  133. type: string
  134. required: true
  135. $ref:
  136. - definitions/node_bind_ip
  137. - variable: bt_port
  138. label: BT Port
  139. description: The port for qBittorrent BT (Both TCP and UDP)
  140. schema:
  141. type: dict
  142. attrs:
  143. - variable: bind_mode
  144. label: Port Bind Mode
  145. description: |
  146. The port bind mode.</br>
  147. - Publish: The port will be published on the host for external access.</br>
  148. - Expose: The port will be exposed for inter-container communication.</br>
  149. - None: The port will not be exposed or published.</br>
  150. Note: If the Dockerfile defines an EXPOSE directive,
  151. the port will still be exposed for inter-container communication regardless of this setting.
  152. schema:
  153. type: string
  154. default: "published"
  155. enum:
  156. - value: "published"
  157. description: Publish port on the host for external access
  158. - value: "exposed"
  159. description: Expose port for inter-container communication
  160. - value: ""
  161. description: None
  162. - variable: port_number
  163. label: Port Number
  164. schema:
  165. type: int
  166. default: 51413
  167. min: 1
  168. max: 65535
  169. required: true
  170. - variable: host_ips
  171. label: Host IPs
  172. description: IPs on the host to bind this port
  173. schema:
  174. type: list
  175. show_if: [["bind_mode", "=", "published"]]
  176. default: []
  177. items:
  178. - variable: host_ip
  179. label: Host IP
  180. schema:
  181. type: string
  182. required: true
  183. $ref:
  184. - definitions/node_bind_ip
  185. - variable: use_https_probe
  186. label: Use HTTPS Probe
  187. description: |
  188. Use HTTPS probe for the qBittorrent Web UI. </br>
  189. This will ONLY affect the probes, only enable this if you
  190. configured HTTPS in the qBittorrent Web UI.
  191. schema:
  192. type: boolean
  193. default: false
  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: qBittorrent Config Storage
  209. description: The path to store qBittorrent 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
  284. label: qBittorrent Downloads Storage
  285. description: The path to store qBittorrent Downloads.
  286. schema:
  287. type: dict
  288. attrs:
  289. - variable: mount_path
  290. label: Mount Path
  291. description: |
  292. The path where the volume will be mounted.</br>
  293. Note: Make sure the download path defined in the qBittorrent Web UI is within this path.
  294. schema:
  295. type: path
  296. required: true
  297. default: "/downloads"
  298. - variable: type
  299. label: Type
  300. description: |
  301. ixVolume: Is dataset created automatically by the system.</br>
  302. Host Path: Is a path that already exists on the system.
  303. schema:
  304. type: string
  305. required: true
  306. default: "ix_volume"
  307. enum:
  308. - value: "host_path"
  309. description: Host Path (Path that already exists on the system)
  310. - value: "ix_volume"
  311. description: ixVolume (Dataset created automatically by the system)
  312. - variable: ix_volume_config
  313. label: ixVolume Configuration
  314. description: The configuration for the ixVolume dataset.
  315. schema:
  316. type: dict
  317. show_if: [["type", "=", "ix_volume"]]
  318. $ref:
  319. - "normalize/ix_volume"
  320. attrs:
  321. - variable: acl_enable
  322. label: Enable ACL
  323. description: Enable ACL for the storage.
  324. schema:
  325. type: boolean
  326. default: false
  327. - variable: dataset_name
  328. label: Dataset Name
  329. description: The name of the dataset to use for storage.
  330. schema:
  331. type: string
  332. required: true
  333. hidden: true
  334. default: "downloads"
  335. - variable: acl_entries
  336. label: ACL Configuration
  337. schema:
  338. type: dict
  339. show_if: [["acl_enable", "=", true]]
  340. attrs: []
  341. - variable: host_path_config
  342. label: Host Path Configuration
  343. schema:
  344. type: dict
  345. show_if: [["type", "=", "host_path"]]
  346. attrs:
  347. - variable: acl_enable
  348. label: Enable ACL
  349. description: Enable ACL for the storage.
  350. schema:
  351. type: boolean
  352. default: false
  353. - variable: acl
  354. label: ACL Configuration
  355. schema:
  356. type: dict
  357. show_if: [["acl_enable", "=", true]]
  358. attrs: []
  359. $ref:
  360. - "normalize/acl"
  361. - variable: path
  362. label: Host Path
  363. description: The host path to use for storage.
  364. schema:
  365. type: hostpath
  366. show_if: [["acl_enable", "=", false]]
  367. required: true
  368. - variable: additional_storage
  369. label: Additional Storage
  370. schema:
  371. type: list
  372. default: []
  373. items:
  374. - variable: storageEntry
  375. label: Storage Entry
  376. schema:
  377. type: dict
  378. attrs:
  379. - variable: type
  380. label: Type
  381. description: |
  382. ixVolume: Is dataset created automatically by the system.</br>
  383. Host Path: Is a path that already exists on the system.</br>
  384. SMB Share: Is a SMB share that is mounted to as a volume.
  385. schema:
  386. type: string
  387. required: true
  388. default: "ix_volume"
  389. enum:
  390. - value: "host_path"
  391. description: Host Path (Path that already exists on the system)
  392. - value: "ix_volume"
  393. description: ixVolume (Dataset created automatically by the system)
  394. - value: "cifs"
  395. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  396. - variable: read_only
  397. label: Read Only
  398. description: Mount the volume as read only.
  399. schema:
  400. type: boolean
  401. default: false
  402. - variable: mount_path
  403. label: Mount Path
  404. description: The path inside the container to mount the storage.
  405. schema:
  406. type: path
  407. required: true
  408. - variable: host_path_config
  409. label: Host Path Configuration
  410. schema:
  411. type: dict
  412. show_if: [["type", "=", "host_path"]]
  413. attrs:
  414. - variable: acl_enable
  415. label: Enable ACL
  416. description: Enable ACL for the storage.
  417. schema:
  418. type: boolean
  419. default: false
  420. - variable: acl
  421. label: ACL Configuration
  422. schema:
  423. type: dict
  424. show_if: [["acl_enable", "=", true]]
  425. attrs: []
  426. $ref:
  427. - "normalize/acl"
  428. - variable: path
  429. label: Host Path
  430. description: The host path to use for storage.
  431. schema:
  432. type: hostpath
  433. show_if: [["acl_enable", "=", false]]
  434. required: true
  435. - variable: ix_volume_config
  436. label: ixVolume Configuration
  437. description: The configuration for the ixVolume dataset.
  438. schema:
  439. type: dict
  440. show_if: [["type", "=", "ix_volume"]]
  441. $ref:
  442. - "normalize/ix_volume"
  443. attrs:
  444. - variable: acl_enable
  445. label: Enable ACL
  446. description: Enable ACL for the storage.
  447. schema:
  448. type: boolean
  449. default: false
  450. - variable: dataset_name
  451. label: Dataset Name
  452. description: The name of the dataset to use for storage.
  453. schema:
  454. type: string
  455. required: true
  456. default: "storage_entry"
  457. - variable: acl_entries
  458. label: ACL Configuration
  459. schema:
  460. type: dict
  461. show_if: [["acl_enable", "=", true]]
  462. attrs: []
  463. - variable: cifs_config
  464. label: SMB Configuration
  465. description: The configuration for the SMB dataset.
  466. schema:
  467. type: dict
  468. show_if: [["type", "=", "cifs"]]
  469. attrs:
  470. - variable: server
  471. label: Server
  472. description: The server to mount the SMB share.
  473. schema:
  474. type: string
  475. required: true
  476. - variable: path
  477. label: Path
  478. description: The path to mount the SMB share.
  479. schema:
  480. type: string
  481. required: true
  482. - variable: username
  483. label: Username
  484. description: The username to use for the SMB share.
  485. schema:
  486. type: string
  487. required: true
  488. - variable: password
  489. label: Password
  490. description: The password to use for the SMB share.
  491. schema:
  492. type: string
  493. required: true
  494. private: true
  495. - variable: domain
  496. label: Domain
  497. description: The domain to use for the SMB share.
  498. schema:
  499. type: string
  500. - variable: labels
  501. label: ""
  502. group: Labels Configuration
  503. schema:
  504. type: list
  505. default: []
  506. items:
  507. - variable: label
  508. label: Label
  509. schema:
  510. type: dict
  511. attrs:
  512. - variable: key
  513. label: Key
  514. schema:
  515. type: string
  516. required: true
  517. - variable: value
  518. label: Value
  519. schema:
  520. type: string
  521. required: true
  522. - variable: containers
  523. label: Containers
  524. description: Containers where the label should be applied
  525. schema:
  526. type: list
  527. items:
  528. - variable: container
  529. label: Container
  530. schema:
  531. type: string
  532. required: true
  533. enum:
  534. - value: qbittorrent
  535. description: qbittorrent
  536. - variable: resources
  537. label: ""
  538. group: Resources Configuration
  539. schema:
  540. type: dict
  541. attrs:
  542. - variable: limits
  543. label: Limits
  544. schema:
  545. type: dict
  546. attrs:
  547. - variable: cpus
  548. label: CPUs
  549. description: CPUs limit for qBittorrent.
  550. schema:
  551. type: int
  552. default: 2
  553. required: true
  554. - variable: memory
  555. label: Memory (in MB)
  556. description: Memory limit for qBittorrent.
  557. schema:
  558. type: int
  559. default: 4096
  560. required: true