[{"data":1,"prerenderedAt":140},["ShallowReactive",2],{"seo-verification":3,"blog-how-to-host-lobe-chat-on-a-vps-ma-en":6,"promo-bar-likely":131},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"key":7,"data":8},"blog-how-to-host-lobe-chat-on-a-vps-ma-en",{"id":9,"slug":10,"slugs":11,"title":15,"excerpt":16,"readTime":17,"views":18,"isPinned":19,"noindex":19,"publishedAt":20,"updatedAt":21,"category":22,"categories":27,"featuredImage":29,"bgImage":30,"posterImage":31,"relatedSolution":32,"intro":35,"sections":36,"ctaTitle":82,"ctaBody":83,"ctaButton":84,"ctaUrl":85,"relatedPosts":86},14,"how-to-host-lobe-chat-on-a-vps",{"fr":12,"en":10,"ar":13,"es":14},"heberger-lobe-chat-vps","كيفية-استضافة-lobe-chat-على-خادم-vps","como-alojar-lobe-chat-en-un-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.",4,1,false,"2026-06-06T00:00:00+00:00","2026-11-04T16:30:24+00:00",{"id":18,"name":23,"slug":24,"color":25,"icon":26},"Artificial Intelligence","intelligence-artificielle","bg-purple-500\u002F10 text-purple-400","ia",[28],{"id":18,"name":23,"slug":24,"color":25,"icon":26},null,"\u002Fblog\u002Fcovers\u002Fbg.svg","\u002Fblog\u002Fcovers\u002Fheberger-lobe-chat-vps-poster.svg",{"categorySlug":33,"appSlug":34},"artificial-intelligence","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.",[37,41,51,54,76,79],{"type":38,"title":39,"body":40},"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":42,"title":43,"items":44},"ul","Concrete benefits of self-hosting",[45,46,47,48,49,50],"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":38,"title":52,"body":53},"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":55,"title":56,"steps":57},"steps","Deployment of Lobe Chat with Docker",[58,61,64,67,70,73],{"title":59,"body":60},"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":62,"body":63},"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":65,"body":66},"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":68,"body":69},"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":71,"body":72},"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":74,"body":75},"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":77,"body":78},"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.",{"type":38,"title":80,"body":81},"One-click Lobe Chat deployment on ServOrbit","Lobe Chat is available directly from the ServOrbit Marketplace. Select the application when ordering your VPS: Docker comes pre-installed, the Lobe Chat container starts automatically on port 3210, and you access it from your ServOrbit dashboard via an SSH tunnel or by attaching a domain — no Compose editing or manual SSL setup needed. To get started, all you need is your LLM API key (OpenAI, Anthropic, Mistral, or a local Ollama on the same VPS): configure it under Settings → Providers and ask your first question.","Deploy Lobe Chat on a VPS in one click","Order a ServOrbit VPS with Lobe Chat pre-installed: Docker configured, container running on port 3210, immediate access from your dashboard. Connect your LLM API key and start chatting.","View Lobe Chat on the Marketplace","\u002Fapplications\u002Fartificial-intelligence\u002Flobe-chat",[87,104,122],{"id":18,"slug":88,"slugs":89,"title":93,"excerpt":94,"readTime":95,"views":18,"isPinned":19,"noindex":19,"publishedAt":96,"updatedAt":97,"category":98,"categories":99,"featuredImage":29,"bgImage":30,"posterImage":101,"relatedSolution":102},"how-to-host-open-webui-on-a-vps",{"fr":90,"en":88,"ar":91,"es":92},"heberger-open-webui","كيفية-استضافة-open-webui-على-خادم-vps","como-alojar-open-webui-en-un-vps","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.",9,"2026-06-01T00:00:00+00:00","2026-11-09T20:55:18+00:00",{"id":18,"name":23,"slug":24,"color":25,"icon":26},[100],{"id":18,"name":23,"slug":24,"color":25,"icon":26},"\u002Fblog\u002Fcovers\u002Fheberger-open-webui-poster.svg",{"categorySlug":33,"appSlug":103},"open-webui",{"id":105,"slug":106,"slugs":107,"title":111,"excerpt":112,"readTime":113,"views":18,"isPinned":19,"noindex":19,"publishedAt":114,"updatedAt":115,"category":116,"categories":117,"featuredImage":29,"bgImage":30,"posterImage":119,"relatedSolution":120},2,"deploying-dify-on-a-vps-ai-workflows-under-control",{"fr":108,"en":106,"ar":109,"es":110},"deployer-dify-vps","نشر-dify-على-vps-سير-عمل-الذكاء-الاصطناعي-تحت-السيطرة","desplegar-dify-en-un-vps","Deploy Dify on a VPS: Complete Guide from Installation to Plugins","Install Dify on a ServOrbit VPS: requirements, Docker Compose, offline plugins, known Docker limits, backup before upgrading, and troubleshooting.",15,"2026-02-11T00:00:00+00:00","2026-10-29T03:10:23+00:00",{"id":18,"name":23,"slug":24,"color":25,"icon":26},[118],{"id":18,"name":23,"slug":24,"color":25,"icon":26},"\u002Fblog\u002Fcovers\u002Fdeployer-dify-vps-poster.svg",{"categorySlug":24,"appSlug":121},"dify",{"id":123,"slug":124,"slugs":125,"title":129,"excerpt":130,"readTime":17,"views":18,"isPinned":19,"noindex":131,"publishedAt":132,"updatedAt":133,"category":134,"categories":135,"featuredImage":29,"bgImage":30,"posterImage":137,"relatedSolution":138},121,"hosting-openclaw-on-a-vps",{"fr":126,"en":124,"ar":127,"es":128},"heberger-openclaw-vps","استضافة-openclaw-على-خادم-vps","alojar-openclaw-en-un-vps","Hosting OpenClaw on a VPS","Host OpenClaw on your VPS: the open source personal AI assistant reachable from WhatsApp, Telegram, Discord and 50+ messaging apps. Docker, LLM setup and HTTPS.",true,"2026-02-23T00:00:00+00:00","2026-11-09T20:55:19+00:00",{"id":18,"name":23,"slug":24,"color":25,"icon":26},[136],{"id":18,"name":23,"slug":24,"color":25,"icon":26},"\u002Fblog\u002Fcovers\u002Fheberger-openclaw-vps-poster.svg",{"categorySlug":33,"appSlug":139},"openclaw",1794270426195]