questions.yaml 16 KB

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