questions.yaml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545
  1. groups:
  2. - name: Mealie Configuration
  3. description: Configure Mealie
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Mealie
  6. - name: Network Configuration
  7. description: Configure Network for Mealie
  8. - name: Storage Configuration
  9. description: Configure Storage for Mealie
  10. - name: Labels Configuration
  11. description: Configure Labels for Mealie
  12. - name: Resources Configuration
  13. description: Configure Resources for Mealie
  14. questions:
  15. - variable: TZ
  16. group: Mealie Configuration
  17. label: Timezone
  18. schema:
  19. type: string
  20. default: "Etc/UTC"
  21. required: true
  22. $ref:
  23. - "definitions/timezone"
  24. - variable: mealie
  25. label: ""
  26. group: Mealie Configuration
  27. schema:
  28. type: dict
  29. attrs:
  30. - variable: postgres_image_selector
  31. label: Postgres Image (CAUTION)
  32. description: |
  33. If you are changing this after the postgres directory has been initialized,</br>
  34. STOP! and make sure you have a backup of your data.</br>
  35. Changing this will trigger an one way database upgrade.</br>
  36. You can only select newer versions of postgres.</br>
  37. Selecting an older version will refuse to start.</br>
  38. If something goes wrong, you will have to restore from backup.
  39. schema:
  40. type: string
  41. default: postgres_17_image
  42. required: true
  43. enum:
  44. - value: postgres_15_image
  45. description: Postgres 15
  46. - value: postgres_17_image
  47. description: Postgres 17
  48. - variable: db_password
  49. label: Database Password
  50. description: The password for Mealie.
  51. schema:
  52. type: string
  53. default: ""
  54. private: true
  55. required: true
  56. - variable: allow_signup
  57. label: Allow Signup
  58. description: Allow users to signup for Mealie.
  59. schema:
  60. type: boolean
  61. default: true
  62. - variable: default_group
  63. label: Default Group
  64. description: The default group for new users.
  65. schema:
  66. type: string
  67. default: Home
  68. required: true
  69. - variable: base_url
  70. label: Base URL
  71. description: |
  72. The URL that Mealie will be accessible from.</br>
  73. Example: </br>
  74. http://server.ip:30111</br>
  75. https://Mealie.example.com
  76. schema:
  77. type: uri
  78. default: ""
  79. required: true
  80. - variable: additional_envs
  81. label: Additional Environment Variables
  82. schema:
  83. type: list
  84. default: []
  85. items:
  86. - variable: env
  87. label: Environment Variable
  88. schema:
  89. type: dict
  90. attrs:
  91. - variable: name
  92. label: Name
  93. schema:
  94. type: string
  95. required: true
  96. - variable: value
  97. label: Value
  98. schema:
  99. type: string
  100. - variable: run_as
  101. label: ""
  102. group: User and Group Configuration
  103. schema:
  104. type: dict
  105. attrs:
  106. - variable: user
  107. label: User ID
  108. description: The user id that Mealie files will be owned by.
  109. schema:
  110. type: int
  111. min: 568
  112. default: 568
  113. required: true
  114. - variable: group
  115. label: Group ID
  116. description: The group id that Mealie files will be owned by.
  117. schema:
  118. type: int
  119. min: 568
  120. default: 568
  121. required: true
  122. - variable: network
  123. label: ""
  124. group: Network Configuration
  125. schema:
  126. type: dict
  127. attrs:
  128. - variable: web_port
  129. label: WebUI Port
  130. schema:
  131. type: dict
  132. attrs:
  133. - variable: bind_mode
  134. label: Port Bind Mode
  135. description: |
  136. The port bind mode.</br>
  137. - Publish: The port will be published on the host for external access.</br>
  138. - Expose: The port will be exposed for inter-container communication.</br>
  139. - None: The port will not be exposed or published.</br>
  140. Note: If the Dockerfile defines an EXPOSE directive,
  141. the port will still be exposed for inter-container communication regardless of this setting.
  142. schema:
  143. type: string
  144. default: "published"
  145. enum:
  146. - value: "published"
  147. description: Publish port on the host for external access
  148. - value: "exposed"
  149. description: Expose port for inter-container communication
  150. - value: ""
  151. description: None
  152. - variable: port_number
  153. label: Port Number
  154. schema:
  155. type: int
  156. default: 30111
  157. min: 1
  158. max: 65535
  159. required: true
  160. - variable: host_ips
  161. label: Host IPs
  162. description: IPs on the host to bind this port
  163. schema:
  164. type: list
  165. show_if: [["bind_mode", "=", "published"]]
  166. default: []
  167. items:
  168. - variable: host_ip
  169. label: Host IP
  170. schema:
  171. type: string
  172. required: true
  173. $ref:
  174. - definitions/node_bind_ip
  175. - variable: storage
  176. label: ""
  177. group: Storage Configuration
  178. schema:
  179. type: dict
  180. attrs:
  181. - variable: data
  182. label: Mealie Data Storage
  183. description: The path to store Mealie Data.
  184. schema:
  185. type: dict
  186. attrs:
  187. - variable: type
  188. label: Type
  189. description: |
  190. ixVolume: Is dataset created automatically by the system.</br>
  191. Host Path: Is a path that already exists on the system.
  192. schema:
  193. type: string
  194. required: true
  195. default: "ix_volume"
  196. enum:
  197. - value: "host_path"
  198. description: Host Path (Path that already exists on the system)
  199. - value: "ix_volume"
  200. description: ixVolume (Dataset created automatically by the system)
  201. - variable: ix_volume_config
  202. label: ixVolume Configuration
  203. description: The configuration for the ixVolume dataset.
  204. schema:
  205. type: dict
  206. show_if: [["type", "=", "ix_volume"]]
  207. $ref:
  208. - "normalize/ix_volume"
  209. attrs:
  210. - variable: acl_enable
  211. label: Enable ACL
  212. description: Enable ACL for the storage.
  213. schema:
  214. type: boolean
  215. default: false
  216. - variable: dataset_name
  217. label: Dataset Name
  218. description: The name of the dataset to use for storage.
  219. schema:
  220. type: string
  221. required: true
  222. hidden: true
  223. default: "data"
  224. - variable: acl_entries
  225. label: ACL Configuration
  226. schema:
  227. type: dict
  228. show_if: [["acl_enable", "=", true]]
  229. attrs: []
  230. - variable: host_path_config
  231. label: Host Path Configuration
  232. schema:
  233. type: dict
  234. show_if: [["type", "=", "host_path"]]
  235. attrs:
  236. - variable: acl_enable
  237. label: Enable ACL
  238. description: Enable ACL for the storage.
  239. schema:
  240. type: boolean
  241. default: false
  242. - variable: acl
  243. label: ACL Configuration
  244. schema:
  245. type: dict
  246. show_if: [["acl_enable", "=", true]]
  247. attrs: []
  248. $ref:
  249. - "normalize/acl"
  250. - variable: path
  251. label: Host Path
  252. description: The host path to use for storage.
  253. schema:
  254. type: hostpath
  255. show_if: [["acl_enable", "=", false]]
  256. required: true
  257. - variable: postgres_data
  258. label: Mealie Postgres Data Storage
  259. description: The path to store Mealie Postgres Data.
  260. schema:
  261. type: dict
  262. attrs:
  263. - variable: type
  264. label: Type
  265. description: |
  266. ixVolume: Is dataset created automatically by the system.</br>
  267. Host Path: Is a path that already exists on the system.
  268. schema:
  269. type: string
  270. required: true
  271. default: "ix_volume"
  272. enum:
  273. - value: "host_path"
  274. description: Host Path (Path that already exists on the system)
  275. - value: "ix_volume"
  276. description: ixVolume (Dataset created automatically by the system)
  277. - variable: ix_volume_config
  278. label: ixVolume Configuration
  279. description: The configuration for the ixVolume dataset.
  280. schema:
  281. type: dict
  282. show_if: [["type", "=", "ix_volume"]]
  283. $ref:
  284. - "normalize/ix_volume"
  285. attrs:
  286. - variable: acl_enable
  287. label: Enable ACL
  288. description: Enable ACL for the storage.
  289. schema:
  290. type: boolean
  291. default: false
  292. - variable: dataset_name
  293. label: Dataset Name
  294. description: The name of the dataset to use for storage.
  295. schema:
  296. type: string
  297. required: true
  298. hidden: true
  299. default: "postgres_data"
  300. - variable: acl_entries
  301. label: ACL Configuration
  302. schema:
  303. type: dict
  304. show_if: [["acl_enable", "=", true]]
  305. attrs: []
  306. - variable: host_path_config
  307. label: Host Path Configuration
  308. schema:
  309. type: dict
  310. show_if: [["type", "=", "host_path"]]
  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: acl
  319. label: ACL Configuration
  320. schema:
  321. type: dict
  322. show_if: [["acl_enable", "=", true]]
  323. attrs: []
  324. $ref:
  325. - "normalize/acl"
  326. - variable: path
  327. label: Host Path
  328. description: The host path to use for storage.
  329. schema:
  330. type: hostpath
  331. show_if: [["acl_enable", "=", false]]
  332. required: true
  333. - variable: auto_permissions
  334. label: Automatic Permissions
  335. description: |
  336. Automatically set permissions for the host path.
  337. Enabling this, will check the top level directory,</br>
  338. If it finds incorrect permissions, it will `chown` the
  339. host path to the user and group required for the
  340. postgres container.
  341. schema:
  342. type: boolean
  343. default: false
  344. show_if: [["acl_enable", "=", false]]
  345. - variable: additional_storage
  346. label: Additional Storage
  347. schema:
  348. type: list
  349. default: []
  350. items:
  351. - variable: storageEntry
  352. label: Storage Entry
  353. schema:
  354. type: dict
  355. attrs:
  356. - variable: type
  357. label: Type
  358. description: |
  359. ixVolume: Is dataset created automatically by the system.</br>
  360. Host Path: Is a path that already exists on the system.</br>
  361. SMB Share: Is a SMB share that is mounted to as a volume.
  362. schema:
  363. type: string
  364. required: true
  365. default: "ix_volume"
  366. enum:
  367. - value: "host_path"
  368. description: Host Path (Path that already exists on the system)
  369. - value: "ix_volume"
  370. description: ixVolume (Dataset created automatically by the system)
  371. - value: "cifs"
  372. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  373. - variable: read_only
  374. label: Read Only
  375. description: Mount the volume as read only.
  376. schema:
  377. type: boolean
  378. default: false
  379. - variable: mount_path
  380. label: Mount Path
  381. description: The path inside the container to mount the storage.
  382. schema:
  383. type: path
  384. required: true
  385. - variable: host_path_config
  386. label: Host Path Configuration
  387. schema:
  388. type: dict
  389. show_if: [["type", "=", "host_path"]]
  390. attrs:
  391. - variable: acl_enable
  392. label: Enable ACL
  393. description: Enable ACL for the storage.
  394. schema:
  395. type: boolean
  396. default: false
  397. - variable: acl
  398. label: ACL Configuration
  399. schema:
  400. type: dict
  401. show_if: [["acl_enable", "=", true]]
  402. attrs: []
  403. $ref:
  404. - "normalize/acl"
  405. - variable: path
  406. label: Host Path
  407. description: The host path to use for storage.
  408. schema:
  409. type: hostpath
  410. show_if: [["acl_enable", "=", false]]
  411. required: true
  412. - variable: ix_volume_config
  413. label: ixVolume Configuration
  414. description: The configuration for the ixVolume dataset.
  415. schema:
  416. type: dict
  417. show_if: [["type", "=", "ix_volume"]]
  418. $ref:
  419. - "normalize/ix_volume"
  420. attrs:
  421. - variable: acl_enable
  422. label: Enable ACL
  423. description: Enable ACL for the storage.
  424. schema:
  425. type: boolean
  426. default: false
  427. - variable: dataset_name
  428. label: Dataset Name
  429. description: The name of the dataset to use for storage.
  430. schema:
  431. type: string
  432. required: true
  433. default: "storage_entry"
  434. - variable: acl_entries
  435. label: ACL Configuration
  436. schema:
  437. type: dict
  438. show_if: [["acl_enable", "=", true]]
  439. attrs: []
  440. $ref:
  441. - "normalize/acl"
  442. - variable: cifs_config
  443. label: SMB Configuration
  444. description: The configuration for the SMB dataset.
  445. schema:
  446. type: dict
  447. show_if: [["type", "=", "cifs"]]
  448. attrs:
  449. - variable: server
  450. label: Server
  451. description: The server to mount the SMB share.
  452. schema:
  453. type: string
  454. required: true
  455. - variable: path
  456. label: Path
  457. description: The path to mount the SMB share.
  458. schema:
  459. type: string
  460. required: true
  461. - variable: username
  462. label: Username
  463. description: The username to use for the SMB share.
  464. schema:
  465. type: string
  466. required: true
  467. - variable: password
  468. label: Password
  469. description: The password to use for the SMB share.
  470. schema:
  471. type: string
  472. required: true
  473. private: true
  474. - variable: domain
  475. label: Domain
  476. description: The domain to use for the SMB share.
  477. schema:
  478. type: string
  479. - variable: labels
  480. label: ""
  481. group: Labels Configuration
  482. schema:
  483. type: list
  484. default: []
  485. items:
  486. - variable: label
  487. label: Label
  488. schema:
  489. type: dict
  490. attrs:
  491. - variable: key
  492. label: Key
  493. schema:
  494. type: string
  495. required: true
  496. - variable: value
  497. label: Value
  498. schema:
  499. type: string
  500. required: true
  501. - variable: containers
  502. label: Containers
  503. description: Containers where the label should be applied
  504. schema:
  505. type: list
  506. items:
  507. - variable: container
  508. label: Container
  509. schema:
  510. type: string
  511. required: true
  512. enum:
  513. - value: mealie
  514. description: mealie
  515. - value: postgres
  516. description: postgres
  517. - variable: resources
  518. label: ""
  519. group: Resources Configuration
  520. schema:
  521. type: dict
  522. attrs:
  523. - variable: limits
  524. label: Limits
  525. schema:
  526. type: dict
  527. attrs:
  528. - variable: cpus
  529. label: CPUs
  530. description: CPUs limit for Mealie.
  531. schema:
  532. type: int
  533. default: 2
  534. required: true
  535. - variable: memory
  536. label: Memory (in MB)
  537. description: Memory limit for Mealie.
  538. schema:
  539. type: int
  540. default: 4096
  541. required: true