questions.yaml 14 KB

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