questions.yaml 20 KB

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