Skip to content

We want to self-host n8n on Docker, what are the basics?

n8n self-host fits SMBs that want data control and lower cost. It doesn't need a Kubernetes cluster: a 4GB VPS with Docker Compose is usually enough.

Try this first

  1. 1Pick the host: Hetzner, DigitalOcean or Azure VM in EU region. 4GB RAM and 2 vCPUs is a comfortable starting point for SMB volumes.
  2. 2Use Docker Compose with n8n + Postgres + Traefik (or Caddy) for TLS. Put basic-auth or OAuth proxy in front, not directly exposed.
  3. 3Persist data: Postgres volume for database, local or S3 volume for binary data and credentials. Check n8n.io/hosting docs for the right env vars.
  4. 4Backup: daily Postgres dump to offsite (S3, Backblaze, own NAS). Without backup you lose workflow history and credentials on a disk crash.
  5. 5Updates: pin a version in compose and update deliberately each month. n8n rarely breaks, but 'latest' in prod is still a gamble.

When to bring us in

Need self-host n8n with multi-user, at-rest encryption, and backup monitoring, setup is a day's work. We can help.

See also

None of the above fits?

Describe your situation below. We pass your input plus the steps you already saw to our AI and return tailored next-step advice. If it's too risky to DIY, we'll say so.

Who are you?

For the AI question we need your email and company, so we can follow up if the AI gets stuck, and to prevent abuse.

Limited to 2 questions per hour and 5 per day, kept lean so the AI stays useful. For more, contacting us directly works better for you and us.

Or skip the DIY entirely

Our Managed IT clients do not look these things up. One point of contact, a fixed monthly price, resolved within working hours.