questions.yaml 18 KB

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