Compare commits

...

13 Commits

Author SHA1 Message Date
gyurix
de0e5ae45d removed uneccessary pipelines relevant parts 2026-07-28 11:21:38 +02:00
gyurix
a7e85af935 changed ENABLE_PERSISTENT_CONFIG variable into openwebui 2026-07-18 22:38:33 +02:00
gyurix
88d63ab725 setup crawl4ai correctly 2026-07-18 14:31:14 +02:00
gyurix
8ca027dfc3 correcting searxng related parameters 2026-07-18 14:20:03 +02:00
gyurix
6ac1c69393 updated persistent config settings in openwebui 2026-07-18 13:40:00 +02:00
gyurix
e724d8b2e7 updated searxng configurations 2026-07-18 13:23:02 +02:00
gyurix
f53aebb8d3 fromatting 2026-07-17 00:26:17 +02:00
gyurix
16e9a2572d formatting 2026-07-17 00:21:08 +02:00
gyurix
decc823119 formatting errors 2026-07-17 00:10:58 +02:00
gyurix
a41b7902ea formatting searxng settings 2026-07-17 00:04:21 +02:00
gyurix
10badeb218 correcting init in openwebui searxng content 2026-07-16 19:18:05 +02:00
gyurix
ba68e3cdd3 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.
2026-07-16 18:33:42 +02:00
gyurix
7ffb4a598a feat(openwebui): add web search config and pipelines secret
- Introduce `PIPELINES_API_KEY` in the secrets file to secure pipelines communication
- Replace hardcoded RAG and web search URLs with template variables, enabling flexible configuration
- Add new template variables (`ENABLE_WEB_SEARCH`, `WEB_SEARCH_ENGINE`, `WEB_LOADER_ENGINE`, `SEARXNG_QUERY_URL`, `EXTERNAL_WEB_LOADER_URL`) with defaults
- Include OpenWebUI secret env file in the service definition for consistent secret injection
- Set `ENABLE_PERSISTENT_CONFIG` to false to align with the parametrized deployment approach

These changes decouple service endpoints from the deployment template, allowing users to easily customize web search and RAG integrations without modifying service definitions.
2026-07-16 15:08:13 +02:00
3 changed files with 66 additions and 57 deletions
+1
View File
@@ -18,6 +18,7 @@
"WEBUI_ADMIN_PASSWORD": "#WEBUI_ADMIN_PASSWORD", "WEBUI_ADMIN_PASSWORD": "#WEBUI_ADMIN_PASSWORD",
"WEBUI_SECRET_KEY": "#WEBUI_SECRET_KEY", "WEBUI_SECRET_KEY": "#WEBUI_SECRET_KEY",
"OPENAI_API_KEY": "#OPENAI_API_KEY", "OPENAI_API_KEY": "#OPENAI_API_KEY",
"HF_TOKEN": "#HF_TOKEN",
"DATABASE_URL": "postgres://#POSTGRES_USER:#POSTGRES_PASSWORD@openwebuipostgres-db:5432/#POSTGRES_DB", "DATABASE_URL": "postgres://#POSTGRES_USER:#POSTGRES_PASSWORD@openwebuipostgres-db:5432/#POSTGRES_DB",
"EXTERNAL_WEB_SEARCH_API_KEY": "#SEARXNG_SECRET", "EXTERNAL_WEB_SEARCH_API_KEY": "#SEARXNG_SECRET",
"EXTERNAL_WEB_LOADER_API_KEY": "#CRAWL4AI_API_TOKEN" "EXTERNAL_WEB_LOADER_API_KEY": "#CRAWL4AI_API_TOKEN"
+14 -56
View File
@@ -24,7 +24,7 @@
], ],
"START_ON_BOOT": "false", "START_ON_BOOT": "false",
"ENTRYPOINT": "sh -c", "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/qdrant && mkdir -p /etc/user/data/openwebui/searxng && mkdir -p /etc/user/data/openwebui/crawl4ai && printf %s c2VydmVyOgogIGJpbmRfYWRkcmVzczogMC4wLjAuMAogIHBvcnQ6IDgwODAKICBsaW1pdGVyOiBmYWxzZQogIHB1YmxpY19pbnN0YW5jZTogZmFsc2UKc2VhcmNoOgogIGZvcm1hdHM6CiAgICAtIGh0bWwKICAgIC0ganNvbgp1aToKICBzdGF0aWNfdXNlX2hhc2g6IHRydWUKcmVkaXM6CiAgdXJsOiBmYWxzZQpvdXRnb2luZzoKICB1c2VyYWdlbnQ6IE1vemlsbGEvNS4wIChXaW5kb3dzIE5UIDEwLjA7IFdpbjY0OyB4NjQpIEFwcGxlV2ViS2l0LzUzNy4zNiAoS0hUTUwsIGxpa2UgR2Vja28pIENocm9tZS8xMzEuMC4wLjAgU2FmYXJpLzUzNy4zNgp1c2VfZGVmYXVsdF9zZXR0aW5nczoKICBlbmdpbmVzOgogICAgcmVtb3ZlOgogICAgICAtIGFobWlhCiAgICAgIC0gdG9yY2gKICAgICAgLSB3aWtpZGF0YQpib3RkZXRlY3Rpb246CiAgaXBfbGlzdHM6CiAgICBwYXNzX2lwOgogICAgICAtIDAuMC4wLjAvMAogICAgICAtIDo6LzA= | base64 -d > /etc/user/data/openwebui/searxng/settings.yml && printf %s W2JvdGRldGVjdGlvbi5pcF9saW1pdF0KbGlua190b2tlbiA9IGZhbHNlCg== | base64 -d > /etc/user/data/openwebui/searxng/limiter.toml",
"PRE_START": "null", "PRE_START": "null",
"POST_START": "null" "POST_START": "null"
}, },
@@ -92,51 +92,6 @@
"PRE_START": "null", "PRE_START": "null",
"POST_START": "null" "POST_START": "null"
}, },
{
"IMAGE": "ghcr.io/open-webui/pipelines:main",
"UPDATE": "true",
"NAME": "openwebuipipelines-app",
"MEMORY": "1024M",
"NETWORK": "openwebui-net",
"SELECTOR": "openwebuipipelines-app",
"VOLUMES": [
{
"SOURCE": "/etc/user/data/openwebui/pipelines",
"DEST": "/app/pipelines",
"TYPE": "rw"
}
],
"PORTS": [
{
"SOURCE": "null",
"DEST": "9099",
"TYPE": "tcp"
}
],
"ENVS": [
{
"OPENAI_API_BASE_URL": "#OPENAI_API_BASE_URL"
},
{
"VECTOR_DB": "qdrant"
},
{
"QDRANT_HOST": "openwebuiqdrant-app"
},
{
"QDRANT_PORT": "6333"
},
{
"QDRANT_URI": "http://openwebuiqdrant-app:6333"
}
],
"EXTRA": "--restart always",
"DEPEND": [],
"START_ON_BOOT": "false",
"CMD": "null",
"PRE_START": "null",
"POST_START": "null"
},
{ {
"IMAGE": "searxng/searxng:latest", "IMAGE": "searxng/searxng:latest",
"UPDATE": "true", "UPDATE": "true",
@@ -221,32 +176,35 @@
} }
], ],
"ENVS": [ "ENVS": [
{
"ENABLE_PERSISTENT_CONFIG": "false"
},
{
"HF_HUB_OFFLINE": "#DISABLE_HUGGINGFACE"
},
{ {
"OPENAI_API_BASE_URL": "#OPENAI_API_BASE_URL" "OPENAI_API_BASE_URL": "#OPENAI_API_BASE_URL"
}, },
{ {
"VECTOR_DB": "qdrant" "VECTOR_DB": "qdrant"
}, },
{
"QDRANT_HOST": "openwebuiqdrant-app"
},
{
"QDRANT_PORT": "6333"
},
{ {
"QDRANT_URI": "http://openwebuiqdrant-app:6333" "QDRANT_URI": "http://openwebuiqdrant-app:6333"
}, },
{ {
"ENABLE_RAG_PIPELINE": "True" "ENABLE_WEB_SEARCH": "#ENABLE_WEB_SEARCH"
}, },
{ {
"RAG_PIPELINE_URL": "http://openwebuipipelines-app:9099/v1" "WEB_SEARCH_ENGINE": "#WEB_SEARCH_ENGINE"
}, },
{ {
"WEB_SEARCH_ENGINE": "http://openwebuisearxng-app:8080/search?q=<query>" "WEB_LOADER_ENGINE": "#WEB_LOADER_ENGINE"
}, },
{ {
"EXTERNAL_WEB_LOADER_URL": "http://openwebuicrawl4ai-app:11235" "SEARXNG_QUERY_URL": "#SEARXNG_QUERY_URL"
},
{
"EXTERNAL_WEB_LOADER_URL": "#EXTERNAL_WEB_LOADER_URL"
} }
], ],
"ENV_FILES": [ "ENV_FILES": [
+50
View File
@@ -55,6 +55,21 @@
"advanced": "true", "advanced": "true",
"type": "password" "type": "password"
}, },
{
"description": "Hugging Face token",
"key": "HF_TOKEN",
"value": "",
"info": "Optional Hugging Face API token for TTS and model access features.",
"advanced": "true",
"type": "password"
},
{
"description": "Disable Hugging Face requests",
"key": "DISABLE_HUGGINGFACE",
"value": "1",
"info": "Set to 1 to disable all outgoing requests to huggingface.co at startup. Set to 0 or leave empty to allow Hugging Face access.",
"advanced": "true"
},
{ {
"description": "SearXNG secret key", "description": "SearXNG secret key",
"key": "SEARXNG_SECRET", "key": "SEARXNG_SECRET",
@@ -103,6 +118,41 @@
"value": "", "value": "",
"required": "true", "required": "true",
"generated": "random|sha256|20" "generated": "random|sha256|20"
},
{
"description": "Enable web search",
"key": "ENABLE_WEB_SEARCH",
"value": "true",
"info": "Optional web search enabling, keep it empty if you don't want it",
"advanced": "true"
},
{
"description": "Web search engine",
"key": "WEB_SEARCH_ENGINE",
"value": "searxng",
"info": "Optional web search engine Searxng, keep it empty if you don't want it or define any other if you have",
"advanced": "true"
},
{
"description": "External web search engine",
"key": "WEB_LOADER_ENGINE",
"value": "external",
"info": "If optional web search engine defined, keep it as is, otherwise keep it empty",
"advanced": "true"
},
{
"description": "Web",
"key": "SEARXNG_QUERY_URL",
"value": "http://openwebuisearxng-app:8080/search",
"info": "Optional web search engine Searxng, keep it empty if you don't want it",
"advanced": "true"
},
{
"description": "External web search engine",
"key": "EXTERNAL_WEB_LOADER_URL",
"value": "http://openwebuicrawl4ai-app:11235/crawl",
"info": "Optional crawl4ai application url, keep it as is, otherwise keep it empty",
"advanced": "true"
} }
] ]
} }