From ba68e3cdd3488cafeadf35ed543f739f1b80d267 Mon Sep 17 00:00:00 2001 From: gyurix Date: Thu, 16 Jul 2026 18:33:42 +0200 Subject: [PATCH] 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. --- openwebui/service-openwebui.json | 2 +- openwebui/template.json | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/openwebui/service-openwebui.json b/openwebui/service-openwebui.json index c1e8eb1..74d8352 100644 --- a/openwebui/service-openwebui.json +++ b/openwebui/service-openwebui.json @@ -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" }, diff --git a/openwebui/template.json b/openwebui/template.json index d82d3e8..025bc22 100644 --- a/openwebui/template.json +++ b/openwebui/template.json @@ -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", -- 2.49.1