How to Run Open WebUI with Ollama Using Docker Compose
Write one Compose file that starts Ollama and Open WebUI together, with Ollama reachable only inside the Compose network.
THE FIELD GUIDE
Run AI on your own computer, check model and hardware requirements, and verify which steps work without a cloud connection.
Write one Compose file that starts Ollama and Open WebUI together, with Ollama reachable only inside the Compose network.
Force an Ollama model to run entirely on the CPU with PARAMETER num_gpu 0 in a Modelfile, and confirm it with the…
Send one curl request to LocalAI's chat completions endpoint and read the reply to prove the model and the API are working.
Run nvidia-smi to see total, used and free VRAM, then compare the free memory with the size of the model you want…
Check the AMD GPU with rocminfo, install the ROCm stack Ollama needs, and confirm the model loads on the GPU with ollama…
Turn the network off and run a local chat and a transcription to prove your setup really works offline before you need…
Load a vision-capable model in LM Studio, attach an image to the chat, and ask a question the model can only answer…
Use a macOS llama.cpp build with Metal support so the model runs on the Apple Silicon GPU instead of the CPU.
Pass -t to llama-cli or llama-server to set how many CPU threads generate text, and use -tb for the threads that process…
Start llama-server with --embedding and a dedicated embedding model, then call the embeddings endpoint to turn text into vectors.