questions.yaml 12 KB

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