questions.yaml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  1. groups:
  2. - name: Open Speed Test Configuration
  3. description: Configure Open Speed Test
  4. - name: Network Configuration
  5. description: Configure Network for Open Speed Test
  6. - name: Storage Configuration
  7. description: Configure Storage for Open Speed Test
  8. - name: Labels Configuration
  9. description: Configure Labels for Open Speed Test
  10. - name: Resources Configuration
  11. description: Configure Resources for Open Speed Test
  12. questions:
  13. - variable: TZ
  14. group: Open Speed Test Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: speed_test
  23. label: ""
  24. group: Open Speed Test 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: http_port
  55. label: HTTP 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: 30116
  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: https_port
  102. label: HTTPS Port
  103. schema:
  104. type: dict
  105. attrs:
  106. - variable: bind_mode
  107. label: Port Bind Mode
  108. description: |
  109. The port bind mode.</br>
  110. - Publish: The port will be published on the host for external access.</br>
  111. - Expose: The port will be exposed for inter-container communication.</br>
  112. - None: The port will not be exposed or published.</br>
  113. Note: If the Dockerfile defines an EXPOSE directive,
  114. the port will still be exposed for inter-container communication regardless of this setting.
  115. schema:
  116. type: string
  117. default: "published"
  118. enum:
  119. - value: "published"
  120. description: Publish port on the host for external access
  121. - value: "exposed"
  122. description: Expose port for inter-container communication
  123. - value: ""
  124. description: None
  125. - variable: port_number
  126. label: Port Number
  127. schema:
  128. type: int
  129. default: 30117
  130. min: 1
  131. max: 65535
  132. required: true
  133. - variable: host_ips
  134. label: Host IPs
  135. description: IPs on the host to bind this port
  136. schema:
  137. type: list
  138. show_if: [["bind_mode", "=", "published"]]
  139. default: []
  140. items:
  141. - variable: host_ip
  142. label: Host IP
  143. schema:
  144. type: string
  145. required: true
  146. $ref:
  147. - definitions/node_bind_ip
  148. - variable: certificate_id
  149. label: Certificate ID
  150. description: The certificate ID to use for Open Speed Test.
  151. schema:
  152. type: int
  153. "null": true
  154. $ref:
  155. - "definitions/certificate"
  156. - variable: host_network
  157. label: Host Network
  158. description: |
  159. Bind to the host network. It's recommended to keep this disabled.
  160. schema:
  161. type: boolean
  162. default: false
  163. - variable: storage
  164. label: ""
  165. group: Storage Configuration
  166. schema:
  167. type: dict
  168. attrs:
  169. - variable: additional_storage
  170. label: Additional Storage
  171. schema:
  172. type: list
  173. default: []
  174. items:
  175. - variable: storageEntry
  176. label: Storage Entry
  177. schema:
  178. type: dict
  179. attrs:
  180. - variable: type
  181. label: Type
  182. description: |
  183. ixVolume: Is dataset created automatically by the system.</br>
  184. Host Path: Is a path that already exists on the system.</br>
  185. SMB Share: Is a SMB share that is mounted to as a volume.
  186. schema:
  187. type: string
  188. required: true
  189. default: "ix_volume"
  190. enum:
  191. - value: "host_path"
  192. description: Host Path (Path that already exists on the system)
  193. - value: "ix_volume"
  194. description: ixVolume (Dataset created automatically by the system)
  195. - value: "cifs"
  196. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  197. - variable: read_only
  198. label: Read Only
  199. description: Mount the volume as read only.
  200. schema:
  201. type: boolean
  202. default: false
  203. - variable: mount_path
  204. label: Mount Path
  205. description: The path inside the container to mount the storage.
  206. schema:
  207. type: path
  208. required: true
  209. - variable: host_path_config
  210. label: Host Path Configuration
  211. schema:
  212. type: dict
  213. show_if: [["type", "=", "host_path"]]
  214. attrs:
  215. - variable: acl_enable
  216. label: Enable ACL
  217. description: Enable ACL for the storage.
  218. schema:
  219. type: boolean
  220. default: false
  221. - variable: acl
  222. label: ACL Configuration
  223. schema:
  224. type: dict
  225. show_if: [["acl_enable", "=", true]]
  226. attrs: []
  227. $ref:
  228. - "normalize/acl"
  229. - variable: path
  230. label: Host Path
  231. description: The host path to use for storage.
  232. schema:
  233. type: hostpath
  234. show_if: [["acl_enable", "=", false]]
  235. required: true
  236. - variable: ix_volume_config
  237. label: ixVolume Configuration
  238. description: The configuration for the ixVolume dataset.
  239. schema:
  240. type: dict
  241. show_if: [["type", "=", "ix_volume"]]
  242. $ref:
  243. - "normalize/ix_volume"
  244. attrs:
  245. - variable: acl_enable
  246. label: Enable ACL
  247. description: Enable ACL for the storage.
  248. schema:
  249. type: boolean
  250. default: false
  251. - variable: dataset_name
  252. label: Dataset Name
  253. description: The name of the dataset to use for storage.
  254. schema:
  255. type: string
  256. required: true
  257. default: "storage_entry"
  258. - variable: acl_entries
  259. label: ACL Configuration
  260. schema:
  261. type: dict
  262. show_if: [["acl_enable", "=", true]]
  263. attrs: []
  264. $ref:
  265. - "normalize/acl"
  266. - variable: cifs_config
  267. label: SMB Configuration
  268. description: The configuration for the SMB dataset.
  269. schema:
  270. type: dict
  271. show_if: [["type", "=", "cifs"]]
  272. attrs:
  273. - variable: server
  274. label: Server
  275. description: The server to mount the SMB share.
  276. schema:
  277. type: string
  278. required: true
  279. - variable: path
  280. label: Path
  281. description: The path to mount the SMB share.
  282. schema:
  283. type: string
  284. required: true
  285. - variable: username
  286. label: Username
  287. description: The username to use for the SMB share.
  288. schema:
  289. type: string
  290. required: true
  291. - variable: password
  292. label: Password
  293. description: The password to use for the SMB share.
  294. schema:
  295. type: string
  296. required: true
  297. private: true
  298. - variable: domain
  299. label: Domain
  300. description: The domain to use for the SMB share.
  301. schema:
  302. type: string
  303. - variable: labels
  304. label: ""
  305. group: Labels Configuration
  306. schema:
  307. type: list
  308. default: []
  309. items:
  310. - variable: label
  311. label: Label
  312. schema:
  313. type: dict
  314. attrs:
  315. - variable: key
  316. label: Key
  317. schema:
  318. type: string
  319. required: true
  320. - variable: value
  321. label: Value
  322. schema:
  323. type: string
  324. required: true
  325. - variable: containers
  326. label: Containers
  327. description: Containers where the label should be applied
  328. schema:
  329. type: list
  330. items:
  331. - variable: container
  332. label: Container
  333. schema:
  334. type: string
  335. required: true
  336. enum:
  337. - value: open-speed-test
  338. description: open-speed-test
  339. - variable: resources
  340. label: ""
  341. group: Resources Configuration
  342. schema:
  343. type: dict
  344. attrs:
  345. - variable: limits
  346. label: Limits
  347. schema:
  348. type: dict
  349. attrs:
  350. - variable: cpus
  351. label: CPUs
  352. description: CPUs limit for Open Speed Test.
  353. schema:
  354. type: int
  355. default: 2
  356. required: true
  357. - variable: memory
  358. label: Memory (in MB)
  359. description: Memory limit for Open Speed Test.
  360. schema:
  361. type: int
  362. default: 4096
  363. required: true