questions.yaml 22 KB

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