agilesingh
Resources Playbook Newsletter Talent Work with me
Back to all resources
RESOURCE LIVE

Self Host N8N Setup Guide

Self-host n8n for under $25/mo. Skip the SaaS pricing, keep the visual workflows, run your automations on your own VPS.

AgileSingh By Raj Singh · Aug 2026
THE TELL
WHAT'S INSIDE
BUILT FOR

Built for AI operators and founders running production stacks — the ones shipping agents, automations, and infra every week and tired of half-finished tutorials. If you already have a venture, this drops straight into your stack. If you're building one, this is the operating system behind the curtain.

UNLOCKS WITH YOUR EMAIL
  • 01docker-compose.yml1.2 KB
  • 02postgres-setup.md1.8 KB
  • 03ssl-traefik.md2.4 KB
  • 04backup-strategy.sh0.8 KB
  • 05cloud-migration.md1.4 KB
Get the resource

Drop your email, get the full tool.

One email. Instant access. No sequence, no upsell, no list-trap. I'll only ping you if I ship something that fits.

One email. No follow-up unless I ship something that fits.

Self-hosting n8n costs less than a SaaS tier-2 plan and gives you full control of your workflow data. The setup is mostly Docker, Postgres, and Traefik — the gotchas are the same five things every team hits the first time.

STEP 01

The VPS stack that runs n8n for under $25/mo

Hetzner or Hostinger CX31. 4GB RAM, 2 vCPU, 80GB SSD. Docker Compose for n8n, Postgres 15, Traefik reverse proxy with auto-renewing Let's Encrypt SSL.

version: "3.8"
services:
  n8n:
    image: n8nio/n8n:latest
    restart: always
    ports: ["127.0.0.1:5678:5678"]
    environment:
      - DB_TYPE=postgresdb
      - DB_POSTGRESDB_HOST=postgres
      - WEBHOOK_URL=https://n8n.yourdomain.com/
    volumes: ["n8n_data:/home/node/.n8n"]
  postgres:
    image: postgres:15-alpine
    restart: always
    environment:
      - POSTGRES_DB=n8n
      - POSTGRES_USER=n8n
      - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
    volumes: ["pg_data:/var/lib/postgresql/data"]
RS
WRITTEN BY

Raj Singh

Operator running four ventures across NZ and AU. I ship Claude Code agents, AI infra, and automations in production every week — and write up what actually works so you do not have to burn weekends on it.

40+
AI Deployments
4
Ventures
18
Guides Shipped
3
Yrs Operating
More resources

Keep building the stack.

Browse the rest of the library, or pin a slot to work with me directly.

All resources Work with me
agilesingh

AI systems for founders. Built in production, taught in public. Currently scaling DebtOps.ai.

© 2026 AgileSingh · Part of the DebtOps ecosystem