An open API service indexing awesome lists of open source software.

https://github.com/leonardovff/ollama-selfhost

Self hosted of Ollama + Open-WebUI using docker
https://github.com/leonardovff/ollama-selfhost

docker docker-compose ollama open-webui

Last synced: about 1 month ago
JSON representation

Self hosted of Ollama + Open-WebUI using docker

Awesome Lists containing this project

README

          

# Ollama + open-webui self hosted with Docker

## Requirements
docker

## Installation
```
1. Up the ollama server using the docker
docker compose up -d ollama

2. Ollama client using docker in alias command
echo "alias ollama='docker exec -it ollama ollama'" >> ~/.bashrc

3. Install the the model that you want (list of available modes https://github.com/ollama/ollama?tab=readme-ov-file#model-library)
ollama pull @model-name
```

## If you prefer to use just docker cli
### if you want gpu
```
docker run -d --restart always --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
```
[An Internal Link](/guides/content/editing-an-existing-page)
### if you want without gpu
```
docker run -d --restart always -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
```