questions.yaml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. groups:
  2. - name: Omni Tools Configuration
  3. description: Configure Omni Tools
  4. - name: Network Configuration
  5. description: Configure Network for Omni Tools
  6. - name: Storage Configuration
  7. description: Configure Storage for Omni Tools
  8. - name: Labels Configuration
  9. description: Configure Labels for Omni Tools
  10. - name: Resources Configuration
  11. description: Configure Resources for Omni Tools
  12. questions:
  13. - variable: TZ
  14. group: Omni Tools Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: omni_tools
  23. label: ""
  24. group: Omni Tools 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: 30228
  83. show_if: [["bind_mode", "=", "published"]]
  84. min: 1
  85. max: 65535
  86. required: true
  87. - variable: host_ips
  88. label: Host IPs
  89. description: IPs on the host to bind this port
  90. schema:
  91. type: list
  92. show_if: [["bind_mode", "=", "published"]]
  93. default: []
  94. items:
  95. - variable: host_ip
  96. label: Host IP
  97. schema:
  98. type: string
  99. required: true
  100. $ref:
  101. - definitions/node_bind_ip
  102. - variable: storage
  103. label: ""
  104. group: Storage Configuration
  105. schema:
  106. type: dict
  107. attrs:
  108. - variable: additional_storage
  109. label: Additional Storage
  110. schema:
  111. type: list
  112. default: []
  113. items:
  114. - variable: storageEntry
  115. label: Storage Entry
  116. schema:
  117. type: dict
  118. attrs:
  119. - variable: type
  120. label: Type
  121. description: |
  122. ixVolume: Is dataset created automatically by the system.</br>
  123. Host Path: Is a path that already exists on the system.</br>
  124. SMB Share: Is a SMB share that is mounted to as a volume.
  125. schema:
  126. type: string
  127. required: true
  128. default: "ix_volume"
  129. enum:
  130. - value: "host_path"
  131. description: Host Path (Path that already exists on the system)
  132. - value: "ix_volume"
  133. description: ixVolume (Dataset created automatically by the system)
  134. - value: "cifs"
  135. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  136. - variable: read_only
  137. label: Read Only
  138. description: Mount the volume as read only.
  139. schema:
  140. type: boolean
  141. default: false
  142. - variable: mount_path
  143. label: Mount Path
  144. description: The path inside the container to mount the storage.
  145. schema:
  146. type: path
  147. required: true
  148. - variable: host_path_config
  149. label: Host Path Configuration
  150. schema:
  151. type: dict
  152. show_if: [["type", "=", "host_path"]]
  153. attrs:
  154. - variable: acl_enable
  155. label: Enable ACL
  156. description: Enable ACL for the storage.
  157. schema:
  158. type: boolean
  159. default: false
  160. - variable: acl
  161. label: ACL Configuration
  162. schema:
  163. type: dict
  164. show_if: [["acl_enable", "=", true]]
  165. attrs: []
  166. $ref:
  167. - "normalize/acl"
  168. - variable: path
  169. label: Host Path
  170. description: The host path to use for storage.
  171. schema:
  172. type: hostpath
  173. show_if: [["acl_enable", "=", false]]
  174. required: true
  175. - variable: ix_volume_config
  176. label: ixVolume Configuration
  177. description: The configuration for the ixVolume dataset.
  178. schema:
  179. type: dict
  180. show_if: [["type", "=", "ix_volume"]]
  181. $ref:
  182. - "normalize/ix_volume"
  183. attrs:
  184. - variable: acl_enable
  185. label: Enable ACL
  186. description: Enable ACL for the storage.
  187. schema:
  188. type: boolean
  189. default: false
  190. - variable: dataset_name
  191. label: Dataset Name
  192. description: The name of the dataset to use for storage.
  193. schema:
  194. type: string
  195. required: true
  196. default: "storage_entry"
  197. - variable: acl_entries
  198. label: ACL Configuration
  199. schema:
  200. type: dict
  201. show_if: [["acl_enable", "=", true]]
  202. attrs: []
  203. $ref:
  204. - "normalize/acl"
  205. - variable: cifs_config
  206. label: SMB Configuration
  207. description: The configuration for the SMB dataset.
  208. schema:
  209. type: dict
  210. show_if: [["type", "=", "cifs"]]
  211. attrs:
  212. - variable: server
  213. label: Server
  214. description: The server to mount the SMB share.
  215. schema:
  216. type: string
  217. required: true
  218. - variable: path
  219. label: Path
  220. description: The path to mount the SMB share.
  221. schema:
  222. type: string
  223. required: true
  224. - variable: username
  225. label: Username
  226. description: The username to use for the SMB share.
  227. schema:
  228. type: string
  229. required: true
  230. - variable: password
  231. label: Password
  232. description: The password to use for the SMB share.
  233. schema:
  234. type: string
  235. required: true
  236. private: true
  237. - variable: domain
  238. label: Domain
  239. description: The domain to use for the SMB share.
  240. schema:
  241. type: string
  242. - variable: labels
  243. label: ""
  244. group: Labels Configuration
  245. schema:
  246. type: list
  247. default: []
  248. items:
  249. - variable: label
  250. label: Label
  251. schema:
  252. type: dict
  253. attrs:
  254. - variable: key
  255. label: Key
  256. schema:
  257. type: string
  258. required: true
  259. - variable: value
  260. label: Value
  261. schema:
  262. type: string
  263. required: true
  264. - variable: containers
  265. label: Containers
  266. description: Containers where the label should be applied
  267. schema:
  268. type: list
  269. items:
  270. - variable: container
  271. label: Container
  272. schema:
  273. type: string
  274. required: true
  275. enum:
  276. - value: omni-tools
  277. description: omni-tools
  278. - variable: resources
  279. label: ""
  280. group: Resources Configuration
  281. schema:
  282. type: dict
  283. attrs:
  284. - variable: limits
  285. label: Limits
  286. schema:
  287. type: dict
  288. attrs:
  289. - variable: cpus
  290. label: CPUs
  291. description: CPUs limit for Omni Tools.
  292. schema:
  293. type: int
  294. default: 2
  295. required: true
  296. - variable: memory
  297. label: Memory (in MB)
  298. description: Memory limit for Omni Tools.
  299. schema:
  300. type: int
  301. default: 4096
  302. required: true