mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 17:04:27 +01:00
add llms
This commit is contained in:
30
examples/ollama-ui/README.md
Normal file
30
examples/ollama-ui/README.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# References
|
||||
|
||||
- https://github.com/ollama/ollama
|
||||
- https://hub.docker.com/r/ollama/ollama
|
||||
- https://github.com/open-webui/open-webui
|
||||
|
||||
# Notes
|
||||
|
||||
You should spawn ollama first and download the respective LLM models:
|
||||
|
||||
````
|
||||
# spawn ollama
|
||||
docker compose up -d ollama
|
||||
|
||||
# download an llm model
|
||||
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](https://hub.docker.com/r/ollama/ollama).
|
||||
Reference in New Issue
Block a user