Skip to content
SelfHostBR, home page

Some links on this page are affiliate links: if you sign up through them I may earn a commission, at no extra cost to you. Affiliate partner on this page: Contabo.

Contabo Black Friday · November 23–30

VPS Plus 2 (2 vCPU, 4 GB of RAM, 75 GB NVMe) from €7.20/month excl. VAT with a 24-month term. On sale until November 30.

Your n8n, on your own server.

Practical guides to host n8n, AI agents and automations on a VPS. Official sources linked, and no made-up “best hosting of the year” lists.

Before you buy a server:How much does it cost to host n8n?Which VPS do I need? (calculator)

Most read:Minimum safe n8n versionn8n with PostgreSQLQueue mode with Redis

marlon@vps: ~/n8n
$ docker compose up -d
[+] Running 3/3
 ✔ Network n8n_default      Created
 ✔ Container n8n-traefik-1  Started
 ✔ Container n8n-n8n-1      Started
$ docker compose ps --services
n8n
traefik
$ curl -sI https://n8n.yourdomain.com
HTTP/2 200
$ 

What you will learn to run

  • n8n
  • Docker
  • Coolify
  • Traefik
  • PostgreSQL
  • Let's Encrypt

Start here

Guides and references

See all articles →
$ docker compose up -d

Guide7 min read

How to install n8n on a VPS with Docker Compose

Docker Compose, Traefik and automatic HTTPS for n8n on a Linux VPS, plus backups, updates and the memory to reserve.

Read the full guide
$ n8n export:workflow

Guide7 min read

n8n backup: workflows, credentials and database

$ docker compose pull

Guide5 min read

How to update n8n on Docker

$ ollama pull

Guide7 min read

n8n with Ollama: run local AI on your VPS

$ psql -U n8n

Guide6 min read

n8n with Docker Compose and PostgreSQL

Infra7 min read

n8n queue mode with Redis and workers

Infra5 min read

n8n RAM and CPU requirements

$ npm install n8n

Guide7 min read

Install n8n with Node.js (without Docker)

$ easypanel setup

Guide5 min read

How to install n8n on Easypanel

Security3 min read

Minimum safe n8n version today

Pricing4 min read

How much does it cost to host n8n?

Pricing4 min read

n8n Cloud vs self-hosting: what changes

$ coolify

Guide7 min read

How to install n8n with Coolify

$ ssh root@IP

Guide9 min read

n8n on Contabo: step by step

$ docker compose logs n8n

Guide7 min read

Common self-hosted n8n errors and how to fix them

$ pg_dump -Fc

Guide7 min read

How to migrate n8n to a new server without losing data

How I work

Content you can rely on

Complete step by step

From an empty server to n8n with HTTPS, without skipping steps, with the common errors and how to fix them.

Official sources

Every technical instruction links to the project’s official documentation, so you can check it yourself.

No paid rankings

Tables sorted by price and specs, never by commission. Affiliate links are always flagged.

Revision dates

Guides show when they were last revised, and fixes are dated.