Open WebUI, Ollama and SearXNG: Private AI with Web Search
Deploy Ollama, Open WebUI, SearXNG and Redis on an Ubuntu GPU server to give local models controlled web search, with TLS, security, model tests and troubleshooting.
What will be running at the end?
Deploy Ollama, Open WebUI, SearXNG and Redis on an Ubuntu GPU server to give local models controlled web search, with TLS, security, model tests and troubleshooting. Every command is presented as an operational step; replace example hostnames, passwords and secrets before execution.
Architecture and requirements before installation
Ubuntu 24.04 LTS with sudo access and a dedicated IPv4 address
Docker Engine and Compose v2 where the deployment uses containers
A DNS A record pointing the application hostname to the server
NVMe capacity sized for application data, logs, temporary files and backups
Memory and CPU headroom based on measured concurrency rather than vendor minimums
DNS and port plan
80/443 TCP: Open WebUI dış erişim
11434/TCP: Ollama yalnız özel ağ/localhost
8080/TCP: SearXNG yalnız Docker ağı
6379/TCP: Redis yalnız Docker ağı
Hands-on installation steps
1. GPU doğrulama
nvidia-smi
lspci -nn | grep -Ei "3d|display|vga"
docker run --rm --gpus all nvidia/cuda:12.6.0-base-ubuntu24.04 nvidia-smi
2. Dizin ve sırlar
sudo mkdir -p /opt/eka-ai/searxng
cd /opt/eka-ai
openssl rand -hex 32
Open WebUI, Ollama and SearXNG must be isolated behind HTTPS; databases, queues and internal APIs must not be published directly to the internet.
Production note
Pin tested image versions before production. Read release notes and take an application-consistent backup before database migrations.
Production note
A database dump alone may be incomplete. Preserve persistent files, configuration, encryption keys and the exact deployed version together.
Production note
Validate the installation with a real transaction or workload, then reboot the host and confirm automatic recovery before accepting production traffic.
Common failures and root causes
Belirti / Symptom
Kök neden ve çözüm / Root cause and fix
Service or container does not start
Inspect compose configuration, dependency health, file permissions and the first fatal log line instead of repeatedly restarting.
Yes after secrets are replaced, public access is restricted and a complete restore test has succeeded.
Are minimum resources enough?
Minimums only prove the software can start. Size CPU, memory, IOPS and storage from representative workload measurements.
Can I use Cloudflare?
Yes. Use Full (strict) TLS and configure origin certificates, WebSockets and client IP forwarding where required.
Should upgrades be automatic?
Do not automatically apply major releases. Review migrations, back up data and retain the previous tested image.
What must be backed up?
Back up databases, uploaded files, persistent volumes, configuration, encryption keys and the deployed version together.
VPS or GPU server?
An NVMe VPS fits normal web workloads. Inference, accelerated OCR and video transcoding may require a compatible GPU.
Contact us for deployment
Deploy Ollama, Open WebUI, SearXNG and Redis on an Ubuntu GPU server to give local models controlled web search, with TLS, security, model tests and troubleshooting.