Ollama is an open-source tool that lets you run AI language models such as Llama, Qwen, Gemma, or Mistral on your own server. Your prompts and responses stay on your server, and you don't need an account with an AI provider. You can use Open WebUI as the interface: chat with your models in your browser, much like with popular AI chat services, download new models, and manage additional users.
In this guide, we'll show you two ways to get started: the easy way using your VPS's One-Click Apps, and manual installation with Docker Compose.
The quickest way to set up your own AI chat is through your VPS's One-Click Apps. The app installs Ollama and Open WebUI together and connects them. ZapX sets up your domain and HTTPS for you, so you don't need to use the console.
- A Linux VPS (Debian or Ubuntu) with One-Click Apps set up. See Set up One-Click Apps for instructions.
- Enough memory for the model you want to use. A model uses slightly more memory when running than its download size. For example,
llama3.2:1brequires around 1.5 GB when running, despite its 1.3 GB download size. Open WebUI and the rest of your system also need memory.
AI on the CPU
The One-Click App doesn't use a graphics card; Ollama runs on your VPS's CPU. So start with a small model such as llama3.2:1b or llama3.2:3b. Large models need a lot of memory and respond noticeably more slowly on the CPU.
- Open your VPS in the ZapX dashboard and go to the One-Click Apps tab.
- Search for Ollama in the App catalog, then click Install app next to Ollama with Open WebUI.
- Leave Use a custom subdomain or zap.cloud enabled and choose an address. With a domain, Open WebUI is accessible over HTTPS; without one, it's only accessible over HTTP.
- You don't need to enter any other details. Click Queue installation. The app will be online in one to two minutes.
Only Open WebUI is accessible. Ollama itself runs in the background and is only accessible to Open WebUI, not from the internet.
Open the app right after installation Open WebUI doesn't create an admin account in advance. Whoever visits the address first creates the admin account and then manages all users and settings. So open the app at its address as soon as it's installed and create your account.
Open your app's address and click “Get started.” Enter your name, email address, and a password, then click “Create Admin Account.” You'll then go straight to the chat.
No models are included after installation. You can download one directly in Open WebUI:
- Click “Select a model” in the chat.
- Enter the name of a model from the Ollama model library, for example,
llama3.2:1b. - Click “Download "llama3.2:1b"”. Open WebUI will show the progress, and then the model will be available in the selection menu.
Select the model and ask your first question. You can download more models in the same way.
“does not support tools” error
Open WebUI uses features that require the model to support tool calls. If the chat responds with “… does not support tools,” choose a model that supports tools. In the Ollama model library, these models are marked with “tools,” for example, llama3.2 or qwen3. In our test, llama3.2:1b worked right away, while gemma3:1b stopped with this message.
To check whether an update is available for your installation, open the app's settings (gear icon), go to App update, and click Check for updates. If there's a new version, install it by clicking Apply update. Your accounts, chats, and downloaded models will be kept because they're stored in separate volumes. You can ignore the “A new version is available” message in Open WebUI. New versions are delivered through App update once they're available in the App Catalog.
You can change the app's address under App actions. You can also stop, reinstall, or uninstall the app there.
The rest of this guide covers manual installation from the console using Docker Compose, for example, if you want to integrate Ollama into an existing server environment. It's based on the Ollama Docker guide and the Open WebUI Quick Start.
- A Linux server running Debian or Ubuntu that you can access via SSH.
- Docker with the Compose plugin. See our guide Set up Docker for instructions on installing Docker.
Create a directory and create a compose.yaml file in it:
mkdir ollama
cd ollama
nano compose.yaml
Add the following content. It combines the Ollama CPU container with Open WebUI and connects them through Docker's internal network:
services:
ollama:
image: ollama/ollama
container_name: ollama
volumes:
- ollama:/root/.ollama
restart: unless-stopped
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui
ports:
- "3000:8080"
environment:
- OLLAMA_BASE_URL=http://ollama:11434
- WEBUI_SECRET_KEY=dein-geheimer-schluessel
volumes:
- open-webui:/app/backend/data
depends_on:
- ollama
restart: unless-stopped
volumes:
ollama:
open-webui:
Replace dein-geheimer-schluessel with a random value generated with openssl rand -hex 32. Save the file and start both containers:
docker compose up -d
With this setup, Ollama is only accessible to Open WebUI. Open WebUI runs on port 3000. Open http://<IP-Adresse deines Servers>:3000 in your browser and create your admin account as described above in First visit: Create an admin account. You can download models from the model selector as described above, or directly from the console:
docker exec -it ollama ollama pull llama3.2:1b
Firewall and HTTPS
If a firewall is active on your server, port 3000 (TCP) must be reachable; see Manage the firewall on Linux. For ongoing use, you should run Open WebUI with a domain over HTTPS behind a reverse proxy; see Set up a reverse proxy with nginx. You should then bind the port locally only, using "127.0.0.1:3000:8080" instead of "3000:8080".
Go to the directory and pull the new versions. Your models and chats will be kept in the volumes:
cd ollama
docker compose pull
docker compose up -d
Congratulations! Ollama is now running with Open WebUI on your server, and you can chat with your own AI models. Find more information here:
- Ollama model library – all models, sizes, and variants
- Open WebUI documentation – users, knowledge bases, and more features
Do you have questions that aren't answered here? Our support team is happy to help every day! 🙂