questions.yaml 15 KB

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