Sheet & Flow
Launch offer: 20% off every product and bundle with code LAUNCH20 until October 14, 2026. Browse the store

n8n Production Self-Hosting Kit

n8n Production Self-Hosting Kit preview
$29Buy on Gumroad20% off with LAUNCH20 Launch price $23.20 until October 14, 2026

Docker Compose + Postgres 17 + HTTPS, with encrypted backups, a restore drill and safe upgrades.

Self-host n8n the way you would for a client: HTTPS, PostgreSQL, and backups you have actually restored.

What you get

  • docker-compose.yml: n8n (pinned version), PostgreSQL 17 and Caddy with automatic Let's Encrypt HTTPS. Includes health checks, execution-data pruning, correct webhook/proxy settings, and the n8n 2.x file-access setting.
  • setup.sh: generates a strong DB password and encryption key and locks down .env. It never overwrites an existing key.
  • backup.sh: database dump, n8n data volume, per-workflow JSON exports, and a manifest with checksums and key fingerprint. Optional AES-256 encryption, rclone off-site copy, retention, and healthchecks.io-style pings.
  • restore.sh: verifies checksums and refuses to restore with the wrong encryption key. Supports new-server recovery from one encrypted archive plus a passphrase.
  • restore-drill.sh: restores into a throwaway stack and proves every credential decrypts. Production is untouched.
  • upgrade.sh: backup first, refuses latest, health check, optional automatic rollback.
  • healthcheck.sh, cron examples, and a step-by-step PDF guide with troubleshooting.

Tested end to end: we wiped every volume, restored, and confirmed workflows were back and credentials decrypted. We also rebuilt from an encrypted archive on a "new server", ran negative tests (wrong key, corrupt archive, wrong passphrase), and confirmed all scripts pass shellcheck.

Pinned to n8n 2.40.6 (September 2026). Not affiliated with n8n GmbH.


Built with AI assistance and tested by running it end to end (details in the guide).

Refunds: 30-day refund if it doesn't work as described (refund policy).

$29Buy on Gumroad20% off with LAUNCH20 Launch price $23.20 until October 14, 2026

Learn the method (free)

Related free tools

Save with a bundle

Checkout, delivery, receipts and sales tax are handled by Gumroad. Questions after purchase: reply to your Gumroad receipt email. Not tax, legal or financial advice.