questions.yaml 15 KB

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