questions.yaml 14 KB

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