questions.yaml 22 KB

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