questions.yaml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. groups:
  2. - name: Homarr Configuration
  3. description: Configure Homarr
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Homarr
  6. - name: Network Configuration
  7. description: Configure Network for Homarr
  8. - name: Storage Configuration
  9. description: Configure Storage for Homarr
  10. - name: Resources Configuration
  11. description: Configure Resources for Homarr
  12. portals:
  13. web_portal:
  14. protocols:
  15. - "$kubernetes-resource_configmap_portal_protocol"
  16. host:
  17. - "$kubernetes-resource_configmap_portal_host"
  18. ports:
  19. - "$kubernetes-resource_configmap_portal_port"
  20. path: "$kubernetes-resource_configmap_portal_path"
  21. questions:
  22. - variable: TZ
  23. group: Homarr Configuration
  24. label: Timezone
  25. schema:
  26. type: string
  27. default: Etc/UTC
  28. required: true
  29. $ref:
  30. - definitions/timezone
  31. - variable: homarrConfig
  32. label: ""
  33. group: Homarr Configuration
  34. schema:
  35. type: dict
  36. attrs:
  37. - variable: password
  38. label: Password (Optional)
  39. description: Password for Homarr.
  40. schema:
  41. type: string
  42. default: ""
  43. private: true
  44. - variable: additionalEnvs
  45. label: Additional Environment Variables
  46. description: Configure additional environment variables for Homarr.
  47. schema:
  48. type: list
  49. default: []
  50. items:
  51. - variable: env
  52. label: Environment Variable
  53. schema:
  54. type: dict
  55. attrs:
  56. - variable: name
  57. label: Name
  58. schema:
  59. type: string
  60. required: true
  61. - variable: value
  62. label: Value
  63. schema:
  64. type: string
  65. required: true
  66. - variable: homarrRunAs
  67. label: ""
  68. group: User and Group Configuration
  69. schema:
  70. type: dict
  71. attrs:
  72. - variable: user
  73. label: User ID
  74. description: The user id that Homarr will run as.
  75. schema:
  76. type: int
  77. min: 2
  78. default: 568
  79. required: true
  80. - variable: group
  81. label: Group ID
  82. description: The group id that Homarr will run as.
  83. schema:
  84. type: int
  85. min: 2
  86. default: 568
  87. required: true
  88. - variable: homarrNetwork
  89. label: ""
  90. group: Network Configuration
  91. schema:
  92. type: dict
  93. attrs:
  94. - variable: webPort
  95. label: Web Port
  96. description: The port for the Homarr Web UI.
  97. schema:
  98. type: int
  99. default: 30052
  100. min: 9000
  101. max: 65535
  102. required: true
  103. - variable: hostNetwork
  104. label: Host Network
  105. description: |
  106. Bind to the host network. It's recommended to keep this disabled.</br>
  107. schema:
  108. type: boolean
  109. default: false
  110. - variable: homarrStorage
  111. label: ""
  112. group: Storage Configuration
  113. schema:
  114. type: dict
  115. attrs:
  116. - variable: configs
  117. label: Homarr Config Storage
  118. description: The path to store Homarr Configuration.
  119. schema:
  120. type: dict
  121. attrs:
  122. - variable: type
  123. label: Type
  124. description: |
  125. ixVolume: Is dataset created automatically by the system.</br>
  126. Host Path: Is a path that already exists on the system.
  127. schema:
  128. type: string
  129. required: true
  130. default: "ixVolume"
  131. enum:
  132. - value: "hostPath"
  133. description: Host Path (Path that already exists on the system)
  134. - value: "ixVolume"
  135. description: ixVolume (Dataset created automatically by the system)
  136. - variable: datasetName
  137. label: Dataset Name
  138. schema:
  139. type: string
  140. show_if: [["type", "=", "ixVolume"]]
  141. required: true
  142. hidden: true
  143. immutable: true
  144. default: "configs"
  145. $ref:
  146. - "normalize/ixVolume"
  147. - variable: hostPath
  148. label: Host Path
  149. schema:
  150. type: hostpath
  151. show_if: [["type", "=", "hostPath"]]
  152. immutable: true
  153. required: true
  154. - variable: icons
  155. label: Homarr Icon Storage
  156. description: The path to store Homarr Icons.
  157. schema:
  158. type: dict
  159. attrs:
  160. - variable: type
  161. label: Type
  162. description: |
  163. ixVolume: Is dataset created automatically by the system.</br>
  164. Host Path: Is a path that already exists on the system.
  165. schema:
  166. type: string
  167. required: true
  168. default: "ixVolume"
  169. enum:
  170. - value: "hostPath"
  171. description: Host Path (Path that already exists on the system)
  172. - value: "ixVolume"
  173. description: ixVolume (Dataset created automatically by the system)
  174. - variable: datasetName
  175. label: Dataset Name
  176. schema:
  177. type: string
  178. show_if: [["type", "=", "ixVolume"]]
  179. required: true
  180. hidden: true
  181. immutable: true
  182. default: "icons"
  183. $ref:
  184. - "normalize/ixVolume"
  185. - variable: hostPath
  186. label: Host Path
  187. schema:
  188. type: hostpath
  189. show_if: [["type", "=", "hostPath"]]
  190. immutable: true
  191. required: true
  192. - variable: additionalStorages
  193. label: Additional Storage
  194. description: Additional storage for Homarr.
  195. schema:
  196. type: list
  197. default: []
  198. items:
  199. - variable: storageEntry
  200. label: Storage Entry
  201. schema:
  202. type: dict
  203. attrs:
  204. - variable: type
  205. label: Type
  206. description: |
  207. ixVolume: Is dataset created automatically by the system.</br>
  208. Host Path: Is a path that already exists on the system.
  209. schema:
  210. type: string
  211. required: true
  212. default: "ixVolume"
  213. enum:
  214. - value: "hostPath"
  215. description: Host Path (Path that already exists on the system)
  216. - value: "ixVolume"
  217. description: ixVolume (Dataset created automatically by the system)
  218. - variable: mountPath
  219. label: Mount Path
  220. description: The path inside the container to mount the storage.
  221. schema:
  222. type: path
  223. required: true
  224. - variable: hostPath
  225. label: Host Path
  226. description: The host path to use for storage.
  227. schema:
  228. type: hostpath
  229. show_if: [["type", "=", "hostPath"]]
  230. required: true
  231. - variable: datasetName
  232. label: Dataset Name
  233. description: The name of the dataset to use for storage.
  234. schema:
  235. type: string
  236. show_if: [["type", "=", "ixVolume"]]
  237. required: true
  238. immutable: true
  239. default: "storage_entry"
  240. $ref:
  241. - "normalize/ixVolume"
  242. - variable: resources
  243. group: Resources Configuration
  244. label: ""
  245. schema:
  246. type: dict
  247. attrs:
  248. - variable: limits
  249. label: Limits
  250. schema:
  251. type: dict
  252. attrs:
  253. - variable: cpu
  254. label: CPU
  255. description: CPU limit for Homarr.
  256. schema:
  257. type: string
  258. max_length: 6
  259. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  260. valid_chars_error: |
  261. Valid CPU limit formats are</br>
  262. - Plain Integer - eg. 1</br>
  263. - Float - eg. 0.5</br>
  264. - Milicpu - eg. 500m
  265. default: "4000m"
  266. required: true
  267. - variable: memory
  268. label: Memory
  269. description: Memory limit for Homarr.
  270. schema:
  271. type: string
  272. max_length: 12
  273. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  274. valid_chars_error: |
  275. Valid Memory limit formats are</br>
  276. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  277. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  278. - Plain Integer in bytes - eg. 1024</br>
  279. - Exponent - eg. 134e6
  280. default: "8Gi"
  281. required: true