updated config for open-webui
This commit is contained in:
parent
5297eb3d67
commit
6a0d88ab4e
@ -72,6 +72,7 @@ if [[ "$1" == "--update" ]]; then
|
||||
-e OPENAI_API_BASE_URL=http://pipelines:9099 \
|
||||
-e OPENAI_API_KEY=0p3n-w3bu! \
|
||||
-e OLLAMA_MAX_LOADED_MODELS=2 \
|
||||
-e OLLAMA_EXTRA_ARGS="--parameter num_ctx:16384" \
|
||||
-v ollama:/root/.ollama \
|
||||
-v open-webui:/app/backend/data \
|
||||
--name open-webui \
|
||||
@ -479,6 +480,7 @@ if [[ "$1" != "--update" ]]; then
|
||||
-e OPENAI_API_KEY=0p3n-w3bu! \
|
||||
-e OLLAMA_MAX_LOADED_MODELS=2 \
|
||||
-e OLLAMA_BASE_URL=http://localhost:11434 \
|
||||
-e OLLAMA_EXTRA_ARGS="--parameter num_ctx:16384" \
|
||||
-v ollama:/root/.ollama \
|
||||
-v open-webui:/app/backend/data \
|
||||
--name open-webui \
|
||||
@ -511,6 +513,25 @@ if [[ "$1" != "--update" ]]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "$1" != "--update" ]]; then
|
||||
if check_container_running "searxng"; then
|
||||
echo "✅ Skipping SearXNG install (already running)."
|
||||
else
|
||||
read -p "➕ Install SearXNG for AI search capabilities? [y/N]: " searxng_prompt
|
||||
if [[ "$searxng_prompt" =~ ^[Yy]$ ]]; then
|
||||
|
||||
echo "✅ AI stack setup complete."
|
||||
# Run SearXNG - will not set base url so that multiple access domains are permitted. But this does disallow proxying images.
|
||||
docker run -d \
|
||||
--name searxng \
|
||||
--network ai-stack-net \
|
||||
-p 8081:8080 \
|
||||
-v ~/ai-stack/searxng:/etc/searxng \
|
||||
-e "INSTANCE_NAME=searxng" \
|
||||
searxng/searxng:latest
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
echo "✅ AI stack setup complete."
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user