questions.yaml 21 KB

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