questions.yaml 19 KB

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