questions.yaml 15 KB

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