Files
LongTermContexter/DEPLOYMENT.md

1.1 KiB

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:

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:

/opt/openwebui-ollama-src

3) Run installer

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:

http://<linux-host-ip>:3000

5) Validate boot persistence

sudo systemctl status openwebui-ollama.service
sudo reboot
# after reboot
sudo systemctl status openwebui-ollama.service
docker ps

Optional: Pull additional Ollama models

docker exec ollama ollama pull qwen2.5:7b
docker exec ollama ollama pull mistral:7b