Self-Hosting Starter Kit for n8n + PostgreSQL (Docker Compose, SSL & Auto-Backup Guide)
By Manish Kumar Das · Developer / Programmer
Price: ₹299 — pay securely with UPI, card or net banking.
Category: Code Snippets & Scripts
Format: ZIP — instant download after payment.
Deploy a fast, restart-safe, and production-ready n8n workflow automation server backed by PostgreSQL 17 and Docker Compose in under 15 minutes. Avoid SQLite database write-locks and lost credentials on default setups. This plug-and-play starter kit gives you tested configuration files, automated daily backups, and a complete 2-page deployment manual. What You Get Inside the ZIP: • docker-compose.yml — PostgreSQL 17 + pinned n8n with healthchecks, localhost port binding (127.0.0.1:5678), and 7-day execution log pruning • .env.example — Pre-structured environment template supporting both Production HTTPS and Local HTTP testing modes • scripts/init-data.sh — Automatic least-privilege PostgreSQL user provisioning script • scripts/backup.sh — Automated daily compressed pg_dump + 600-permission .env backup script with 14-day retention cleanup • nginx/n8n.conf.example — Reverse proxy config with WebSocket/SSE headers and 50 MB webhook payload support • SETUP-GUIDE.pdf — Complete 2-page installation, SSL reverse-proxy, disaster-recovery backup/restore, and troubleshooting manual Requirements: Linux VPS (Ubuntu 22.04/24.04 or Debian 12/13, 2+ vCPU, 2–4 GB RAM), Docker Engine + Docker Compose v2, and a domain/subdomain. Disclosure: Documentation and configuration templates in this kit were structured and drafted with AI assistance and verified in a live Docker Compose environment.