[{"data":1,"prerenderedAt":126},["ShallowReactive",2],{"seo-verification":3,"blog-heberger-n8n-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":20,"featuredImage":22,"bgImage":23,"posterImage":24,"relatedSolution":25,"intro":27,"sections":28,"ctaTitle":74,"ctaBody":75,"ctaButton":76,"ctaUrl":77,"relatedPosts":78},149,"heberger-n8n-vps","How to host n8n on a VPS","Deploy n8n on your VPS to automate your workflows between applications, 100% self-hosted, with Docker, a reverse proxy and HTTPS. Step-by-step guide.",8,0,false,"2026-01-27T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":18},2,"Automation","automatisation","bg-brand-action\u002F10 text-brand-action",[21],{"id":16,"name":17,"slug":18,"color":19,"icon":18},null,"\u002Fblog\u002Fcovers\u002Fbg.svg","\u002Fblog\u002Fcovers\u002Fheberger-n8n-vps-poster.svg",{"categorySlug":18,"appSlug":26},"n8n","n8n is an open-source workflow automation engine: you connect hundreds of applications by drag-and-drop, with the option to add code when needed. Self-hosted on your VPS, it becomes a private orchestration platform, with no execution quota and without your data passing through a third-party SaaS. Here is how to deploy it cleanly with Docker, a reverse proxy and a TLS certificate.",[29,33,43,46,68,71],{"type":30,"title":31,"body":32},"h2","Why self-host n8n on a VPS","n8n workflows often handle sensitive secrets: API tokens, database credentials, business webhook payloads. In the cloud version billed per execution, this data passes through infrastructure you do not control, and the bill climbs with volume. On a dedicated VPS, the engine, the internal database and the credentials stay with you, with no execution limit, and you choose when each update happens.",{"type":34,"title":35,"items":36},"ul","The concrete benefits of a self-hosted n8n",[37,38,39,40,41,42],"Unlimited executions: no monthly cap or extra cost per triggered workflow.","Confidentiality of credentials and webhook payloads, which stay on your server.","Full access to community nodes and to running custom code.","Controlled persistence of workflows and history in volumes that you back up.","Webhooks on your own domain, handy for inbound integrations.","Predictable cost: a single VPS price, independent of the number of automations.",{"type":30,"title":44,"body":45},"Hardware and software requirements","n8n is reasonably lightweight. Plan for 1 to 2 vCPU and 2 GB of RAM to start, and 2 to 4 GB if you run heavy or concurrent workflows, or if you connect a dedicated PostgreSQL database instead of SQLite. Allow 5 to 10 GB of disk. On the software side: Docker and Docker Compose, a subdomain (e.g. n8n.your-domain.com) pointing to the VPS IP, and port 443 open for HTTPS and inbound webhooks.",{"type":47,"title":48,"steps":49},"steps","Deploy n8n with Docker and HTTPS",[50,53,56,59,62,65],{"title":51,"body":52},"Prepare the VPS and Docker","Over SSH, update the system then install Docker via `curl -fsSL https:\u002F\u002Fget.docker.com | sh`. Create a dedicated folder: `mkdir -p \u002Fopt\u002Fn8n && cd \u002Fopt\u002Fn8n`.",{"title":54,"body":55},"Write the docker-compose.yml","Use the `n8nio\u002Fn8n` image, a `~\u002F.n8n` volume for persistence, and set `N8N_HOST`, `WEBHOOK_URL=https:\u002F\u002Fn8n.your-domain.com\u002F` as well as `N8N_BASIC_AUTH_ACTIVE=true` with a strong username and password.",{"title":57,"body":58},"Connect a PostgreSQL database (optional)","For production use, add a `postgres` service to the compose file and point n8n at it via the `DB_TYPE=postgresdb` and `DB_POSTGRESDB_*` variables, more robust than SQLite under load.",{"title":60,"body":61},"Launch the container","Run `docker compose up -d` then `docker compose logs -f`. n8n listens locally on `127.0.0.1:5678`, not exposed directly, which is deliberate.",{"title":63,"body":64},"Configure the reverse proxy","With Caddy, a single line is enough: `n8n.your-domain.com { reverse_proxy localhost:5678 }`. Caddy obtains and renews the Let's Encrypt certificate automatically.",{"title":66,"body":67},"Check the webhooks","Create a test workflow with a Webhook node, trigger it from outside and confirm that the URL `https:\u002F\u002Fn8n.your-domain.com\u002Fwebhook\u002F...` responds correctly through the proxy.",{"type":69,"body":70},"tip","For AI automations with no external API cost, have n8n talk to an Ollama container on the same VPS through the internal Docker network. You combine orchestration and generation locally, and no data leaves your server.",{"type":69,"title":72,"body":73},"The official documentation","For advanced configuration and tool-specific options, refer to the \u003Ca href=\"https:\u002F\u002Fdocs.n8n.io\" target=\"_blank\" rel=\"noopener noreferrer\">official n8n documentation\u003C\u002Fa>. This guide covers going live on a VPS; the vendor documentation remains the reference for fine-tuning, major updates and specific use cases.","Deploy your instance on a ServOrbit Cloud VPS","A ServOrbit Cloud VPS with preconfigured Docker and scalable resources lets you install this tool without friction, and adjust RAM and vCPU as usage grows.","Launch my Cloud VPS","\u002Fvps-cloud",[79,95,109],{"id":80,"slug":81,"title":82,"excerpt":83,"readTime":11,"views":84,"isPinned":13,"publishedAt":85,"category":86,"categories":91,"featuredImage":22,"bgImage":23,"posterImage":93,"relatedSolution":94},93,"n8n-vs-node-red","n8n vs Node-RED: which self-hosted automation tool to choose?","n8n or Node-RED to automate your workflows on a VPS? Technical comparison, Docker prerequisites and self-hosted deployment guide.",641,"2026-03-19T00:00:00+00:00",{"id":87,"name":88,"slug":89,"color":90,"icon":89},5,"Comparison","comparatif","bg-info\u002F10 text-info",[92],{"id":87,"name":88,"slug":89,"color":90,"icon":89},"\u002Fblog\u002Fcovers\u002Fn8n-vs-node-red-poster.svg",{"categorySlug":18,"appSlug":26},{"id":96,"slug":97,"title":98,"excerpt":99,"readTime":100,"views":101,"isPinned":13,"publishedAt":102,"category":103,"categories":104,"featuredImage":22,"bgImage":23,"posterImage":106,"relatedSolution":107},26,"installer-activepieces-vps","Installing Activepieces on a VPS: self-hosted automation","Deploy Activepieces on your VPS: self-hosted no-code automation, private data, unlimited integrations and a Docker deployment in 15 minutes.",7,562,"2026-05-25T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":18},[105],{"id":16,"name":17,"slug":18,"color":19,"icon":18},"\u002Fblog\u002Fcovers\u002Finstaller-activepieces-vps-poster.svg",{"categorySlug":18,"appSlug":108},"activepieces",{"id":11,"slug":110,"title":111,"excerpt":112,"readTime":11,"views":113,"isPinned":13,"publishedAt":114,"category":115,"categories":121,"featuredImage":22,"bgImage":23,"posterImage":123,"relatedSolution":124},"heberger-flowise-vps","How to Host Flowise on a VPS","Deploy Flowise on your VPS to build no-code AI agents and chatbots, with Docker, a reverse proxy and SSL. Step-by-step guide.",1760,"2026-06-12T00:00:00+00:00",{"id":116,"name":117,"slug":118,"color":119,"icon":120},1,"Artificial Intelligence","intelligence-artificielle","bg-purple-500\u002F10 text-purple-400","ia",[122],{"id":116,"name":117,"slug":118,"color":119,"icon":120},"\u002Fblog\u002Fcovers\u002Fheberger-flowise-vps-poster.svg",{"categorySlug":120,"appSlug":125},"flowise",1785628442615]