The most straightforward way to get OpenWebUI & Ollama running together is with Docker Compose. Compose is a tool for defining & running multi-container Docker applications. With a single file, you can define all the services, networks, & volumes you need.
First, create a new folder on your computer for this project. Inside that folder, create a new file named
. Now, copy & paste the following code into that file: