questions.yaml 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606
  1. groups:
  2. - name: Jelu Configuration
  3. description: Configure Jelu
  4. - name: Network Configuration
  5. description: Configure Network for Jelu
  6. - name: Storage Configuration
  7. description: Configure Storage for Jelu
  8. - name: Labels Configuration
  9. description: Configure Labels for Jelu
  10. - name: Resources Configuration
  11. description: Configure Resources for Jelu
  12. questions:
  13. - variable: TZ
  14. group: Jelu Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: jelu
  23. label: ""
  24. group: Jelu 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. attrs:
  59. - variable: bind_mode
  60. label: Port Bind Mode
  61. description: |
  62. The port bind mode.</br>
  63. - Publish: The port will be published on the host for external access.</br>
  64. - Expose: The port will be exposed for inter-container communication.</br>
  65. - None: The port will not be exposed or published.</br>
  66. Note: If the Dockerfile defines an EXPOSE directive,
  67. the port will still be exposed for inter-container communication regardless of this setting.
  68. schema:
  69. type: string
  70. default: "published"
  71. enum:
  72. - value: "published"
  73. description: Publish port on the host for external access
  74. - value: "exposed"
  75. description: Expose port for inter-container communication
  76. - value: ""
  77. description: None
  78. - variable: port_number
  79. label: Port Number
  80. schema:
  81. type: int
  82. default: 31106
  83. min: 1
  84. max: 65535
  85. required: true
  86. - variable: host_ips
  87. label: Host IPs
  88. description: IPs on the host to bind this port
  89. schema:
  90. type: list
  91. show_if: [["bind_mode", "=", "published"]]
  92. default: []
  93. items:
  94. - variable: host_ip
  95. label: Host IP
  96. schema:
  97. type: string
  98. required: true
  99. $ref:
  100. - definitions/node_bind_ip
  101. - variable: storage
  102. label: ""
  103. group: Storage Configuration
  104. schema:
  105. type: dict
  106. attrs:
  107. - variable: config
  108. label: Jelu Config Storage
  109. description: The path to store Jelu 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: database
  184. label: Jelu Database Storage
  185. description: The path to store Jelu Database.
  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: "database"
  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: files_images
  260. label: Jelu Image Files Storage
  261. description: The path to store Jelu Image Files.
  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: "files_images"
  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: files_imports
  336. label: Jelu Import Files Storage
  337. description: The path to store Jelu Import Files.
  338. schema:
  339. type: dict
  340. attrs:
  341. - variable: type
  342. label: Type
  343. description: |
  344. ixVolume: Is dataset created automatically by the system.</br>
  345. Host Path: Is a path that already exists on the system.
  346. schema:
  347. type: string
  348. required: true
  349. default: "ix_volume"
  350. enum:
  351. - value: "host_path"
  352. description: Host Path (Path that already exists on the system)
  353. - value: "ix_volume"
  354. description: ixVolume (Dataset created automatically by the system)
  355. - variable: ix_volume_config
  356. label: ixVolume Configuration
  357. description: The configuration for the ixVolume dataset.
  358. schema:
  359. type: dict
  360. show_if: [["type", "=", "ix_volume"]]
  361. $ref:
  362. - "normalize/ix_volume"
  363. attrs:
  364. - variable: acl_enable
  365. label: Enable ACL
  366. description: Enable ACL for the storage.
  367. schema:
  368. type: boolean
  369. default: false
  370. - variable: dataset_name
  371. label: Dataset Name
  372. description: The name of the dataset to use for storage.
  373. schema:
  374. type: string
  375. required: true
  376. hidden: true
  377. default: "files_imports"
  378. - variable: acl_entries
  379. label: ACL Configuration
  380. schema:
  381. type: dict
  382. show_if: [["acl_enable", "=", true]]
  383. attrs: []
  384. - variable: host_path_config
  385. label: Host Path Configuration
  386. schema:
  387. type: dict
  388. show_if: [["type", "=", "host_path"]]
  389. attrs:
  390. - variable: acl_enable
  391. label: Enable ACL
  392. description: Enable ACL for the storage.
  393. schema:
  394. type: boolean
  395. default: false
  396. - variable: acl
  397. label: ACL Configuration
  398. schema:
  399. type: dict
  400. show_if: [["acl_enable", "=", true]]
  401. attrs: []
  402. $ref:
  403. - "normalize/acl"
  404. - variable: path
  405. label: Host Path
  406. description: The host path to use for storage.
  407. schema:
  408. type: hostpath
  409. show_if: [["acl_enable", "=", false]]
  410. required: true
  411. - variable: additional_storage
  412. label: Additional Storage
  413. schema:
  414. type: list
  415. default: []
  416. items:
  417. - variable: storageEntry
  418. label: Storage Entry
  419. schema:
  420. type: dict
  421. attrs:
  422. - variable: type
  423. label: Type
  424. description: |
  425. ixVolume: Is dataset created automatically by the system.</br>
  426. Host Path: Is a path that already exists on the system.</br>
  427. SMB Share: Is a SMB share that is mounted to as a volume.
  428. schema:
  429. type: string
  430. required: true
  431. default: "ix_volume"
  432. enum:
  433. - value: "host_path"
  434. description: Host Path (Path that already exists on the system)
  435. - value: "ix_volume"
  436. description: ixVolume (Dataset created automatically by the system)
  437. - value: "cifs"
  438. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  439. - variable: read_only
  440. label: Read Only
  441. description: Mount the volume as read only.
  442. schema:
  443. type: boolean
  444. default: false
  445. - variable: mount_path
  446. label: Mount Path
  447. description: The path inside the container to mount the storage.
  448. schema:
  449. type: path
  450. required: true
  451. - variable: host_path_config
  452. label: Host Path Configuration
  453. schema:
  454. type: dict
  455. show_if: [["type", "=", "host_path"]]
  456. attrs:
  457. - variable: acl_enable
  458. label: Enable ACL
  459. description: Enable ACL for the storage.
  460. schema:
  461. type: boolean
  462. default: false
  463. - variable: acl
  464. label: ACL Configuration
  465. schema:
  466. type: dict
  467. show_if: [["acl_enable", "=", true]]
  468. attrs: []
  469. $ref:
  470. - "normalize/acl"
  471. - variable: path
  472. label: Host Path
  473. description: The host path to use for storage.
  474. schema:
  475. type: hostpath
  476. show_if: [["acl_enable", "=", false]]
  477. required: true
  478. - variable: ix_volume_config
  479. label: ixVolume Configuration
  480. description: The configuration for the ixVolume dataset.
  481. schema:
  482. type: dict
  483. show_if: [["type", "=", "ix_volume"]]
  484. $ref:
  485. - "normalize/ix_volume"
  486. attrs:
  487. - variable: acl_enable
  488. label: Enable ACL
  489. description: Enable ACL for the storage.
  490. schema:
  491. type: boolean
  492. default: false
  493. - variable: dataset_name
  494. label: Dataset Name
  495. description: The name of the dataset to use for storage.
  496. schema:
  497. type: string
  498. required: true
  499. default: "storage_entry"
  500. - variable: acl_entries
  501. label: ACL Configuration
  502. schema:
  503. type: dict
  504. show_if: [["acl_enable", "=", true]]
  505. attrs: []
  506. - variable: cifs_config
  507. label: SMB Configuration
  508. description: The configuration for the SMB dataset.
  509. schema:
  510. type: dict
  511. show_if: [["type", "=", "cifs"]]
  512. attrs:
  513. - variable: server
  514. label: Server
  515. description: The server to mount the SMB share.
  516. schema:
  517. type: string
  518. required: true
  519. - variable: path
  520. label: Path
  521. description: The path to mount the SMB share.
  522. schema:
  523. type: string
  524. required: true
  525. - variable: username
  526. label: Username
  527. description: The username to use for the SMB share.
  528. schema:
  529. type: string
  530. required: true
  531. - variable: password
  532. label: Password
  533. description: The password to use for the SMB share.
  534. schema:
  535. type: string
  536. required: true
  537. private: true
  538. - variable: domain
  539. label: Domain
  540. description: The domain to use for the SMB share.
  541. schema:
  542. type: string
  543. - variable: labels
  544. label: ""
  545. group: Labels Configuration
  546. schema:
  547. type: list
  548. default: []
  549. items:
  550. - variable: label
  551. label: Label
  552. schema:
  553. type: dict
  554. attrs:
  555. - variable: key
  556. label: Key
  557. schema:
  558. type: string
  559. required: true
  560. - variable: value
  561. label: Value
  562. schema:
  563. type: string
  564. required: true
  565. - variable: containers
  566. label: Containers
  567. description: Containers where the label should be applied
  568. schema:
  569. type: list
  570. items:
  571. - variable: container
  572. label: Container
  573. schema:
  574. type: string
  575. required: true
  576. enum:
  577. - value: jelu
  578. description: jelu
  579. - variable: resources
  580. label: ""
  581. group: Resources Configuration
  582. schema:
  583. type: dict
  584. attrs:
  585. - variable: limits
  586. label: Limits
  587. schema:
  588. type: dict
  589. attrs:
  590. - variable: cpus
  591. label: CPUs
  592. description: CPUs limit for Jelu.
  593. schema:
  594. type: int
  595. default: 2
  596. required: true
  597. - variable: memory
  598. label: Memory (in MB)
  599. description: Memory limit for Jelu.
  600. schema:
  601. type: int
  602. default: 4096
  603. required: true