questions.yaml 15 KB

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