feat(openwebui): add SearXNG config and Pipelines API key

Added default SearXNG configuration files (settings.yml and limiter.toml) to the service startup command, enabling proper setup with user-agent, bind address, and rate limiting. Introduced a new required PIPELINES_API_KEY environment variable with auto-generation using openssl, ensuring pipeline authentication is configured out of the box.
This commit is contained in:
gyurix
2026-07-16 18:33:42 +02:00
parent 7ffb4a598a
commit ba68e3cdd3
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
],
"START_ON_BOOT": "false",
"ENTRYPOINT": "sh -c",
"CMD": "mkdir -p /etc/user/data/openwebui/data && mkdir -p /etc/user/data/openwebui/db && mkdir -p /etc/user/data/openwebui/pipelines && mkdir -p /etc/user/data/openwebui/qdrant && mkdir -p /etc/user/data/openwebui/searxng && mkdir -p /etc/user/data/openwebui/crawl4ai",
"CMD": "mkdir -p /etc/user/data/openwebui/data && mkdir -p /etc/user/data/openwebui/db && mkdir -p /etc/user/data/openwebui/pipelines && mkdir -p /etc/user/data/openwebui/qdrant && mkdir -p /etc/user/data/openwebui/searxng && mkdir -p /etc/user/data/openwebui/crawl4ai && printf 'use_default_settings: true\\nserver:\\n bind_address: \"0.0.0.0\"\\n port: 8080\\n limiter: false\\n public_instance: false\\nui:\\n static_use_hash: true\\nredis:\\n url: false\\noutgoing:\\n useragent: \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36\"\\n' > /etc/user/data/openwebui/searxng/settings.yml && printf '[botdetection.ip_limit]\\nlink_token = true\\n' > /etc/user/data/openwebui/searxng/limiter.toml",
"PRE_START": "null",
"POST_START": "null"
},
+7
View File
@@ -55,6 +55,13 @@
"advanced": "true",
"type": "password"
},
{
"description": "Pipelines API key",
"key": "PIPELINES_API_KEY",
"value": "",
"required": "true",
"generated": "openssl|hex|32"
},
{
"description": "SearXNG secret key",
"key": "SEARXNG_SECRET",