Video coming soon…
🤖 Setup LobeChat — Polished Multi-Model AI Chat UI
Deploy LobeChat on Ubuntu with Docker — a beautiful self-hosted chat interface for OpenAI, Claude, and local Ollama models, with plugins and vision, on port 3211.
⚠️ This script is provided for demo and testing purposes only. Not intended for production use.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/ai/lobechat/lobechat-ubuntu.sh
chmod +x lobechat-ubuntu.sh
sudo bash lobechat-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/ai/lobechat/lobechat-ubuntu.sh
2 Make it Executable
chmod +x lobechat-ubuntu.sh
3 Run the Installer
The script installs Docker if needed, generates a 16-character ACCESS_CODE, and starts LobeChat on port 3211 pre-configured to reach a local Ollama at host.docker.internal:11434.
sudo bash lobechat-ubuntu.sh
4 Enter the Access Code
Open LobeChat and enter the generated access code, then add OpenAI or Claude API keys in settings if you want them alongside Ollama:
http://<your-server-ip>:3211
Ports Used
| Port | Purpose |
|---|---|
| 3211 | Web UI (host → container 3210) — protected by a generated access code |
| ACCESS_CODE | 16 characters, generated — save it |
| Ollama | Pre-wired to host.docker.internal:11434 |