questions.yaml 20 KB

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