[{"data":1,"prerenderedAt":116},["ShallowReactive",2],{"seo-verification":3,"blog-heberger-lobe-chat-vps-en":6},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"id":7,"slug":8,"title":9,"excerpt":10,"readTime":11,"views":12,"isPinned":13,"publishedAt":14,"category":15,"categories":21,"featuredImage":23,"bgImage":24,"posterImage":25,"relatedSolution":26,"intro":28,"sections":29,"ctaTitle":72,"ctaBody":73,"ctaButton":74,"ctaUrl":75,"relatedPosts":76},14,"heberger-lobe-chat-vps","How to Host Lobe Chat on a VPS","Deploy Lobe Chat on a Cloud VPS: a modern multi-model AI interface, plugins and voice synthesis, in a few Docker commands.",7,718,false,"2026-06-06T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":20},1,"Artificial Intelligence","intelligence-artificielle","bg-purple-500\u002F10 text-purple-400","ia",[22],{"id":16,"name":17,"slug":18,"color":19,"icon":20},null,"\u002Fblog\u002Fcovers\u002Fbg.svg","\u002Fblog\u002Fcovers\u002Fheberger-lobe-chat-vps-poster.svg",{"categorySlug":20,"appSlug":27},"lobe-chat","Lobe Chat is an open source AI conversation interface with a polished design, capable of connecting OpenAI, Claude, Ollama and many other providers behind a single window. Self-hosting it on a VPS gives you full control over API keys, histories and costs. Here is how to put it into production cleanly.",[30,34,44,47,69],{"type":31,"title":32,"body":33},"h2","Why self-host Lobe Chat on a VPS","Lobe Chat aggregates several LLM providers (OpenAI, Anthropic, Google, Mistral, local Ollama) in a single UI with a plugin marketplace, custom agents and voice recognition\u002Fsynthesis. In SaaS, your histories and your keys pass through a third party; by hosting it on your own VPS, conversations stay in your PostgreSQL database and your API keys never leave your server. A VPS also offers a fixed IP useful for whitelisting your outbound calls to paid APIs, and the freedom to enable database mode (multi-user with authentication) rather than simple browser storage.",{"type":35,"title":36,"items":37},"ul","Concrete benefits of self-hosting",[38,39,40,41,42,43],"Centralization of all your LLM API keys on the server side, never exposed to the browser","Conversation histories persisted in your own PostgreSQL, backable up and encryptable","Multi-user mode via authentication (Logto, Auth0, Clerk) for a whole team","Connection to a local Ollama on the same VPS for 100% private responses with no API cost","Marketplace of plugins and custom agents with no quota or limit imposed by a SaaS","Full cost control: you only pay for the actual consumption of the APIs you connect",{"type":31,"title":45,"body":46},"Hardware and software requirements","Lobe Chat is a relatively lightweight Node.js application. In browser storage mode, 1 vCPU and 1 GB of RAM are enough. For database mode (recommended in production) with embedded PostgreSQL, plan for 2 vCPU and 2 to 4 GB of RAM, plus 10 GB of disk for images, attachments and the database. On the software side: Docker and the Docker Compose plugin, a domain name pointing to the VPS IP (A record), and at least one API key from an LLM provider. If you enable S3 mode for files, plan for a compatible bucket (MinIO can run on the same VPS).",{"type":48,"title":49,"steps":50},"steps","Deployment of Lobe Chat with Docker",[51,54,57,60,63,66],{"title":52,"body":53},"Prepare the VPS and Docker","Connect over SSH, update the system then install Docker via `curl -fsSL https:\u002F\u002Fget.docker.com | sh`. Verify the installation with `docker compose version`. Create a working folder: `mkdir -p \u002Fopt\u002Flobe-chat && cd \u002Fopt\u002Flobe-chat`.",{"title":55,"body":56},"Write the compose file in database mode","Create a `docker-compose.yml` with the `lobe-chat-database` service, a `postgres` service (image `pgvector\u002Fpgvector:pg16`) and `minio` for S3 storage. Fill in the variables `DATABASE_URL`, `KEY_VAULTS_SECRET` (generated with `openssl rand -base64 32`) and `NEXT_AUTH_SECRET`.",{"title":58,"body":59},"Inject the keys and the auth provider","Add your keys in a `.env` file: `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, etc. Configure `NEXT_AUTH_SSO_PROVIDERS` and the Logto or Clerk credentials to enable multi-user authentication before public exposure.",{"title":61,"body":62},"Launch the stack","Start everything with `docker compose up -d`. Follow the logs with `docker compose logs -f lobe-chat-database` until you see the server listening on port 3210.",{"title":64,"body":65},"Set up the reverse proxy and SSL","Place Caddy or Nginx in front of the container. With Caddy, a three-line Caddyfile (`chat.yourdomain.com { reverse_proxy localhost:3210 }`) automatically generates the Let's Encrypt certificate and forces HTTPS.",{"title":67,"body":68},"Verify and secure","Open `https:\u002F\u002Fchat.yourdomain.com`, create the first administrator account, then close port 3210 at the firewall (`ufw deny 3210`) to let only traffic through the reverse proxy pass.",{"type":70,"body":71},"tip","For totally private conversations with no API cost, install Ollama on the same VPS and set `OLLAMA_PROXY_URL=http:\u002F\u002Fhost.docker.internal:11434\u002Fv1` in Lobe Chat. You get a local assistant (Llama 3, Qwen, Mistral) that depends on no external provider. Remember to increase the VPS RAM according to the size of the loaded model.","Launch Lobe Chat in a few minutes","The ServOrbit Cloud VPS provides preinstalled Docker, a fixed IP and the SSD storage needed to run Lobe Chat in database mode without tedious system configuration.","Deploy on a Cloud VPS","\u002Fvps-cloud",[77,90,103],{"id":16,"slug":78,"title":79,"excerpt":80,"readTime":81,"views":82,"isPinned":13,"publishedAt":83,"category":84,"categories":85,"featuredImage":23,"bgImage":24,"posterImage":87,"relatedSolution":88},"heberger-open-webui","How to Host Open WebUI on a VPS","A complete guide to deploying Open WebUI on your own VPS. Keep control of your data, avoid cloud API costs, and access your LLMs from a clean web interface.",6,3200,"2026-06-01T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":20},[86],{"id":16,"name":17,"slug":18,"color":19,"icon":20},"\u002Fblog\u002Fcovers\u002Fheberger-open-webui-poster.svg",{"categorySlug":20,"appSlug":89},"open-webui",{"id":91,"slug":92,"title":93,"excerpt":94,"readTime":11,"views":95,"isPinned":13,"publishedAt":96,"category":97,"categories":98,"featuredImage":23,"bgImage":24,"posterImage":100,"relatedSolution":101},2,"deployer-dify-vps","Deploying Dify on a VPS: AI Workflows Under Control","Install Dify on a ServOrbit VPS to build agents, chatflows and AI apps without losing control of your data.",2480,"2026-02-11T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":20},[99],{"id":16,"name":17,"slug":18,"color":19,"icon":20},"\u002Fblog\u002Fcovers\u002Fdeployer-dify-vps-poster.svg",{"categorySlug":20,"appSlug":102},"dify",{"id":81,"slug":104,"title":105,"excerpt":106,"readTime":107,"views":108,"isPinned":13,"publishedAt":109,"category":110,"categories":111,"featuredImage":23,"bgImage":24,"posterImage":113,"relatedSolution":114},"openclaw-vps","Deploying OpenClaw on a VPS","A guide to deploying OpenClaw on your own VPS. Keep control of your AI agents and your data within your own infrastructure.",5,422,"2026-06-11T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":20},[112],{"id":16,"name":17,"slug":18,"color":19,"icon":20},"\u002Fblog\u002Fcovers\u002Fopenclaw-vps-poster.svg",{"categorySlug":20,"appSlug":115},"openclaw",1785628440284]