questions.yaml 23 KB

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