questions.yaml 16 KB

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