# Open WebUI + Ollama (Self-Contained) on Linux This stack runs Open WebUI and Ollama in Docker with persistent storage, and starts automatically at boot via systemd. ## 1) Install Docker and compose plugin Ubuntu/Debian example: ```bash sudo apt-get update sudo apt-get install -y docker.io docker-compose-plugin sudo systemctl enable --now docker ``` ## 2) Copy this folder to your Linux host Example destination: ```bash /opt/openwebui-ollama-src ``` ## 3) Run installer ```bash cd /opt/openwebui-ollama-src chmod +x install-linux.sh ./install-linux.sh ``` What it does: - Copies `docker-compose.yml` to `/opt/openwebui-ollama` - Installs and enables `openwebui-ollama.service` - Starts the stack immediately ## 4) Open WebUI Browse to: ```text http://:3000 ``` ## 5) Validate boot persistence ```bash sudo systemctl status openwebui-ollama.service sudo reboot # after reboot sudo systemctl status openwebui-ollama.service docker ps ``` ## Optional: Pull additional Ollama models ```bash docker exec ollama ollama pull qwen2.5:7b docker exec ollama ollama pull mistral:7b ```