questions.yaml 15 KB

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