questions.yaml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. groups:
  2. - name: Kavita Configuration
  3. description: Configure Kavita
  4. - name: Network Configuration
  5. description: Configure Network for Kavita
  6. - name: Storage Configuration
  7. description: Configure Storage for Kavita
  8. - name: Labels Configuration
  9. description: Configure Labels for Kavita
  10. - name: Resources Configuration
  11. description: Configure Resources for Kavita
  12. questions:
  13. - variable: TZ
  14. group: Kavita Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: kavita
  23. label: ""
  24. group: Kavita Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: additional_envs
  29. label: Additional Environment Variables
  30. schema:
  31. type: list
  32. default: []
  33. items:
  34. - variable: env
  35. label: Environment Variable
  36. schema:
  37. type: dict
  38. attrs:
  39. - variable: name
  40. label: Name
  41. schema:
  42. type: string
  43. required: true
  44. - variable: value
  45. label: Value
  46. schema:
  47. type: string
  48. - variable: network
  49. label: ""
  50. group: Network Configuration
  51. schema:
  52. type: dict
  53. attrs:
  54. - variable: web_port
  55. label: WebUI Port
  56. schema:
  57. type: dict
  58. show_if: [["host_network", "=", false]]
  59. attrs:
  60. - variable: bind_mode
  61. label: Port Bind Mode
  62. description: |
  63. The port bind mode.</br>
  64. - Publish: The port will be published on the host for external access.</br>
  65. - Expose: The port will be exposed for inter-container communication.</br>
  66. - None: The port will not be exposed or published.</br>
  67. Note: If the Dockerfile defines an EXPOSE directive,
  68. the port will still be exposed for inter-container communication regardless of this setting.
  69. schema:
  70. type: string
  71. default: "published"
  72. enum:
  73. - value: "published"
  74. description: Publish port on the host for external access
  75. - value: "exposed"
  76. description: Expose port for inter-container communication
  77. - value: ""
  78. description: None
  79. - variable: port_number
  80. label: Port Number
  81. schema:
  82. type: int
  83. show_if: [["bind_mode", "=", "published"]]
  84. default: 30069
  85. min: 1
  86. max: 65535
  87. required: true
  88. - variable: host_ips
  89. label: Host IPs
  90. description: IPs on the host to bind this port
  91. schema:
  92. type: list
  93. show_if: [["bind_mode", "=", "published"]]
  94. default: []
  95. items:
  96. - variable: host_ip
  97. label: Host IP
  98. schema:
  99. type: string
  100. required: true
  101. $ref:
  102. - definitions/node_bind_ip
  103. - variable: host_network
  104. label: Host Network
  105. description: |
  106. Bind to the host network. It's recommended to keep this disabled.
  107. schema:
  108. type: boolean
  109. default: false
  110. - variable: storage
  111. label: ""
  112. group: Storage Configuration
  113. schema:
  114. type: dict
  115. attrs:
  116. - variable: config
  117. label: Kavita Config Storage
  118. description: The path to store Kavita Config.
  119. schema:
  120. type: dict
  121. attrs:
  122. - variable: type
  123. label: Type
  124. description: |
  125. ixVolume: Is dataset created automatically by the system.</br>
  126. Host Path: Is a path that already exists on the system.
  127. schema:
  128. type: string
  129. required: true
  130. default: "ix_volume"
  131. enum:
  132. - value: "host_path"
  133. description: Host Path (Path that already exists on the system)
  134. - value: "ix_volume"
  135. description: ixVolume (Dataset created automatically by the system)
  136. - variable: ix_volume_config
  137. label: ixVolume Configuration
  138. description: The configuration for the ixVolume dataset.
  139. schema:
  140. type: dict
  141. show_if: [["type", "=", "ix_volume"]]
  142. $ref:
  143. - "normalize/ix_volume"
  144. attrs:
  145. - variable: acl_enable
  146. label: Enable ACL
  147. description: Enable ACL for the storage.
  148. schema:
  149. type: boolean
  150. default: false
  151. - variable: dataset_name
  152. label: Dataset Name
  153. description: The name of the dataset to use for storage.
  154. schema:
  155. type: string
  156. required: true
  157. hidden: true
  158. default: "config"
  159. - variable: acl_entries
  160. label: ACL Configuration
  161. schema:
  162. type: dict
  163. show_if: [["acl_enable", "=", true]]
  164. attrs: []
  165. - variable: host_path_config
  166. label: Host Path Configuration
  167. schema:
  168. type: dict
  169. show_if: [["type", "=", "host_path"]]
  170. attrs:
  171. - variable: acl_enable
  172. label: Enable ACL
  173. description: Enable ACL for the storage.
  174. schema:
  175. type: boolean
  176. default: false
  177. - variable: acl
  178. label: ACL Configuration
  179. schema:
  180. type: dict
  181. show_if: [["acl_enable", "=", true]]
  182. attrs: []
  183. $ref:
  184. - "normalize/acl"
  185. - variable: path
  186. label: Host Path
  187. description: The host path to use for storage.
  188. schema:
  189. type: hostpath
  190. show_if: [["acl_enable", "=", false]]
  191. required: true
  192. - variable: additional_storage
  193. label: Additional Storage
  194. schema:
  195. type: list
  196. default: []
  197. items:
  198. - variable: storageEntry
  199. label: Storage Entry
  200. schema:
  201. type: dict
  202. attrs:
  203. - variable: type
  204. label: Type
  205. description: |
  206. ixVolume: Is dataset created automatically by the system.</br>
  207. Host Path: Is a path that already exists on the system.</br>
  208. SMB Share: Is a SMB share that is mounted to as a volume.
  209. schema:
  210. type: string
  211. required: true
  212. default: "ix_volume"
  213. enum:
  214. - value: "host_path"
  215. description: Host Path (Path that already exists on the system)
  216. - value: "ix_volume"
  217. description: ixVolume (Dataset created automatically by the system)
  218. - value: "cifs"
  219. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  220. - variable: read_only
  221. label: Read Only
  222. description: Mount the volume as read only.
  223. schema:
  224. type: boolean
  225. default: false
  226. - variable: mount_path
  227. label: Mount Path
  228. description: The path inside the container to mount the storage.
  229. schema:
  230. type: path
  231. required: true
  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: ix_volume_config
  260. label: ixVolume Configuration
  261. description: The configuration for the ixVolume dataset.
  262. schema:
  263. type: dict
  264. show_if: [["type", "=", "ix_volume"]]
  265. $ref:
  266. - "normalize/ix_volume"
  267. attrs:
  268. - variable: acl_enable
  269. label: Enable ACL
  270. description: Enable ACL for the storage.
  271. schema:
  272. type: boolean
  273. default: false
  274. - variable: dataset_name
  275. label: Dataset Name
  276. description: The name of the dataset to use for storage.
  277. schema:
  278. type: string
  279. required: true
  280. default: "storage_entry"
  281. - variable: acl_entries
  282. label: ACL Configuration
  283. schema:
  284. type: dict
  285. show_if: [["acl_enable", "=", true]]
  286. attrs: []
  287. - variable: cifs_config
  288. label: SMB Configuration
  289. description: The configuration for the SMB dataset.
  290. schema:
  291. type: dict
  292. show_if: [["type", "=", "cifs"]]
  293. attrs:
  294. - variable: server
  295. label: Server
  296. description: The server to mount the SMB share.
  297. schema:
  298. type: string
  299. required: true
  300. - variable: path
  301. label: Path
  302. description: The path to mount the SMB share.
  303. schema:
  304. type: string
  305. required: true
  306. - variable: username
  307. label: Username
  308. description: The username to use for the SMB share.
  309. schema:
  310. type: string
  311. required: true
  312. - variable: password
  313. label: Password
  314. description: The password to use for the SMB share.
  315. schema:
  316. type: string
  317. required: true
  318. private: true
  319. - variable: domain
  320. label: Domain
  321. description: The domain to use for the SMB share.
  322. schema:
  323. type: string
  324. - variable: labels
  325. label: ""
  326. group: Labels Configuration
  327. schema:
  328. type: list
  329. default: []
  330. items:
  331. - variable: label
  332. label: Label
  333. schema:
  334. type: dict
  335. attrs:
  336. - variable: key
  337. label: Key
  338. schema:
  339. type: string
  340. required: true
  341. - variable: value
  342. label: Value
  343. schema:
  344. type: string
  345. required: true
  346. - variable: containers
  347. label: Containers
  348. description: Containers where the label should be applied
  349. schema:
  350. type: list
  351. items:
  352. - variable: container
  353. label: Container
  354. schema:
  355. type: string
  356. required: true
  357. enum:
  358. - value: kavita
  359. description: kavita
  360. - variable: resources
  361. label: ""
  362. group: Resources Configuration
  363. schema:
  364. type: dict
  365. attrs:
  366. - variable: limits
  367. label: Limits
  368. schema:
  369. type: dict
  370. attrs:
  371. - variable: cpus
  372. label: CPUs
  373. description: CPUs limit for Kavita.
  374. schema:
  375. type: int
  376. default: 2
  377. required: true
  378. - variable: memory
  379. label: Memory (in MB)
  380. description: Memory limit for Kavita.
  381. schema:
  382. type: int
  383. default: 4096
  384. required: true