questions.yaml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425
  1. groups:
  2. - name: Umami Configuration
  3. description: Configure Umami
  4. - name: Network Configuration
  5. description: Configure Network for Umami
  6. - name: Storage Configuration
  7. description: Configure Storage for Umami
  8. - name: Labels Configuration
  9. description: Configure Labels for Umami
  10. - name: Resources Configuration
  11. description: Configure Resources for Umami
  12. questions:
  13. - variable: TZ
  14. group: Umami Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: umami
  23. label: ""
  24. group: Umami Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: postgres_image_selector
  29. label: Postgres Image (CAUTION)
  30. description: |
  31. If you are changing this after the postgres directory has been initialized,</br>
  32. STOP! and make sure you have a backup of your data.</br>
  33. Changing this will trigger an one way database upgrade.</br>
  34. You can only select newer versions of postgres.</br>
  35. Selecting an older version will refuse to start.</br>
  36. If something goes wrong, you will have to restore from backup.
  37. schema:
  38. type: string
  39. default: postgres_17_image
  40. required: true
  41. enum:
  42. - value: postgres_17_image
  43. description: Postgres 17
  44. - variable: db_password
  45. label: Database Password
  46. description: The password for Umami.
  47. schema:
  48. type: string
  49. default: ""
  50. required: true
  51. private: true
  52. - variable: app_secret
  53. label: App Secret
  54. description: The secret for Umami.
  55. schema:
  56. type: string
  57. default: ""
  58. required: true
  59. private: true
  60. - variable: additional_envs
  61. label: Additional Environment Variables
  62. schema:
  63. type: list
  64. default: []
  65. items:
  66. - variable: env
  67. label: Environment Variable
  68. schema:
  69. type: dict
  70. attrs:
  71. - variable: name
  72. label: Name
  73. schema:
  74. type: string
  75. required: true
  76. - variable: value
  77. label: Value
  78. schema:
  79. type: string
  80. - variable: network
  81. label: ""
  82. group: Network Configuration
  83. schema:
  84. type: dict
  85. attrs:
  86. - variable: web_port
  87. label: WebUI Port
  88. schema:
  89. type: dict
  90. attrs:
  91. - variable: bind_mode
  92. label: Port Bind Mode
  93. description: |
  94. The port bind mode.</br>
  95. - Publish: The port will be published on the host for external access.</br>
  96. - Expose: The port will be exposed for inter-container communication.</br>
  97. - None: The port will not be exposed or published.</br>
  98. Note: If the Dockerfile defines an EXPOSE directive,
  99. the port will still be exposed for inter-container communication regardless of this setting.
  100. schema:
  101. type: string
  102. default: "published"
  103. enum:
  104. - value: "published"
  105. description: Publish port on the host for external access
  106. - value: "exposed"
  107. description: Expose port for inter-container communication
  108. - value: ""
  109. description: None
  110. - variable: port_number
  111. label: Port Number
  112. schema:
  113. type: int
  114. default: 30060
  115. min: 1
  116. max: 65535
  117. required: true
  118. - variable: host_ips
  119. label: Host IPs
  120. description: IPs on the host to bind this port
  121. schema:
  122. type: list
  123. show_if: [["bind_mode", "=", "published"]]
  124. default: []
  125. items:
  126. - variable: host_ip
  127. label: Host IP
  128. schema:
  129. type: string
  130. required: true
  131. $ref:
  132. - definitions/node_bind_ip
  133. - variable: storage
  134. label: ""
  135. group: Storage Configuration
  136. schema:
  137. type: dict
  138. attrs:
  139. - variable: postgres_data
  140. label: Postgres Data Storage
  141. description: The path to store Postgres Data.
  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: "pg_data"
  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: auto_permissions
  216. label: Automatic Permissions
  217. description: |
  218. Automatically set permissions for the host path.
  219. Enabling this, will check the top level directory,</br>
  220. If it finds incorrect permissions, it will `chown` the
  221. host path to the user and group required for the
  222. postgres container.
  223. schema:
  224. type: boolean
  225. default: false
  226. show_if: [["acl_enable", "=", false]]
  227. - variable: additional_storage
  228. label: Additional Storage
  229. schema:
  230. type: list
  231. default: []
  232. items:
  233. - variable: storageEntry
  234. label: Storage Entry
  235. schema:
  236. type: dict
  237. attrs:
  238. - variable: type
  239. label: Type
  240. description: |
  241. ixVolume: Is dataset created automatically by the system.</br>
  242. Host Path: Is a path that already exists on the system.</br>
  243. SMB Share: Is a SMB share that is mounted to as a volume.
  244. schema:
  245. type: string
  246. required: true
  247. default: "ix_volume"
  248. enum:
  249. - value: "host_path"
  250. description: Host Path (Path that already exists on the system)
  251. - value: "ix_volume"
  252. description: ixVolume (Dataset created automatically by the system)
  253. - value: "cifs"
  254. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  255. - variable: read_only
  256. label: Read Only
  257. description: Mount the volume as read only.
  258. schema:
  259. type: boolean
  260. default: false
  261. - variable: mount_path
  262. label: Mount Path
  263. description: The path inside the container to mount the storage.
  264. schema:
  265. type: path
  266. required: true
  267. - variable: host_path_config
  268. label: Host Path Configuration
  269. schema:
  270. type: dict
  271. show_if: [["type", "=", "host_path"]]
  272. attrs:
  273. - variable: acl_enable
  274. label: Enable ACL
  275. description: Enable ACL for the storage.
  276. schema:
  277. type: boolean
  278. default: false
  279. - variable: acl
  280. label: ACL Configuration
  281. schema:
  282. type: dict
  283. show_if: [["acl_enable", "=", true]]
  284. attrs: []
  285. $ref:
  286. - "normalize/acl"
  287. - variable: path
  288. label: Host Path
  289. description: The host path to use for storage.
  290. schema:
  291. type: hostpath
  292. show_if: [["acl_enable", "=", false]]
  293. required: true
  294. - variable: ix_volume_config
  295. label: ixVolume Configuration
  296. description: The configuration for the ixVolume dataset.
  297. schema:
  298. type: dict
  299. show_if: [["type", "=", "ix_volume"]]
  300. $ref:
  301. - "normalize/ix_volume"
  302. attrs:
  303. - variable: acl_enable
  304. label: Enable ACL
  305. description: Enable ACL for the storage.
  306. schema:
  307. type: boolean
  308. default: false
  309. - variable: dataset_name
  310. label: Dataset Name
  311. description: The name of the dataset to use for storage.
  312. schema:
  313. type: string
  314. required: true
  315. default: "storage_entry"
  316. - variable: acl_entries
  317. label: ACL Configuration
  318. schema:
  319. type: dict
  320. show_if: [["acl_enable", "=", true]]
  321. attrs: []
  322. $ref:
  323. - "normalize/acl"
  324. - variable: cifs_config
  325. label: SMB Configuration
  326. description: The configuration for the SMB dataset.
  327. schema:
  328. type: dict
  329. show_if: [["type", "=", "cifs"]]
  330. attrs:
  331. - variable: server
  332. label: Server
  333. description: The server to mount the SMB share.
  334. schema:
  335. type: string
  336. required: true
  337. - variable: path
  338. label: Path
  339. description: The path to mount the SMB share.
  340. schema:
  341. type: string
  342. required: true
  343. - variable: username
  344. label: Username
  345. description: The username to use for the SMB share.
  346. schema:
  347. type: string
  348. required: true
  349. - variable: password
  350. label: Password
  351. description: The password to use for the SMB share.
  352. schema:
  353. type: string
  354. required: true
  355. private: true
  356. - variable: domain
  357. label: Domain
  358. description: The domain to use for the SMB share.
  359. schema:
  360. type: string
  361. - variable: labels
  362. label: ""
  363. group: Labels Configuration
  364. schema:
  365. type: list
  366. default: []
  367. items:
  368. - variable: label
  369. label: Label
  370. schema:
  371. type: dict
  372. attrs:
  373. - variable: key
  374. label: Key
  375. schema:
  376. type: string
  377. required: true
  378. - variable: value
  379. label: Value
  380. schema:
  381. type: string
  382. required: true
  383. - variable: containers
  384. label: Containers
  385. description: Containers where the label should be applied
  386. schema:
  387. type: list
  388. items:
  389. - variable: container
  390. label: Container
  391. schema:
  392. type: string
  393. required: true
  394. enum:
  395. - value: umami
  396. description: umami
  397. - value: postgres
  398. description: postgres
  399. - variable: resources
  400. label: ""
  401. group: Resources Configuration
  402. schema:
  403. type: dict
  404. attrs:
  405. - variable: limits
  406. label: Limits
  407. schema:
  408. type: dict
  409. attrs:
  410. - variable: cpus
  411. label: CPUs
  412. description: CPUs limit for Umami.
  413. schema:
  414. type: int
  415. default: 2
  416. required: true
  417. - variable: memory
  418. label: Memory (in MB)
  419. description: Memory limit for Umami.
  420. schema:
  421. type: int
  422. default: 4096
  423. required: true