questions.yaml 16 KB

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