questions.yaml 15 KB

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