questions.yaml 15 KB

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