This is just meant to be a small repository to keep my Ollama docker-compose.yml file in sync so I can keep the same
environment on both of my machines.
Feel free to take it, use it, fork it, whatever. 🙂
Prerequisites:
- Docker
- Docker Compose
- NVIDIA Container Toolkit (
nvidia-container-toolkit— needed forruntime: nvidia).
Getting it running:
cp .env.example .env(open up .env and runopenssl rand[..]to generate a secret key)- Make your bind targets with
mkdir -p /path/to/docker_volumes/{ollama_data,openwebui_data}. - Run
docker compose up -d. - Open OpenWebUI at
http://localhost:3000.
These are the models I typically pull down:
glm4:9bqwen3.5:9bdeepseek-coder:6.7btranslategemma:4b