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
- Host: GitHub
- URL: https://github.com/leonardovff/ollama-selfhost
- Owner: leonardovff
- Created: 2025-01-26T12:22:50.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-26T13:13:27.000Z (over 1 year ago)
- Last Synced: 2025-01-26T14:20:00.728Z (over 1 year ago)
- Topics: docker, docker-compose, ollama, open-webui
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```