Compose-Examples/examples/ollama-ui
2024-04-23 12:54:28 +02:00
..
docker-compose.yml add llms 2024-04-23 12:40:10 +02:00
README.md Update README.md 2024-04-23 12:54:28 +02:00

References

Notes

You can spawn ollama first and then download the respective LLM models via docker exec. Alternatively, spawn the whole stack directly and download LLM models within Open WebUI using a browser.

# spawn ollama
docker compose up -d ollama

# download an llm model via docker exec
docker exec ollama ollama run llama3:8b

Afterwards, we can spawn Open WebUI and register our first user account:

# spawn ui
docker compose up -d ui

Finally, we may want to disable open user registration for Open WebUI by uncommenting the env ENABLE_SIGNUP variable and restarting the container.

Tip

You likely want to pass a GPU into the Ollama container. Please read this.