Managing automation workflows should not require complex setup. We have released a fully automated installation script that installs n8n with Docker, PostgreSQL, Traefik, and automatic Let’s Encrypt SSL certificates using a single command.
This solution allows you to install n8n on Debian quickly and securely on any compatible VPS.
Key Points
- You can install n8n on Debian 12 or 13 using a fully automated one-line script.
- The installer sets up Docker, PostgreSQL, Traefik, and automatic Let’s Encrypt SSL certificates.
- Running n8n on a VPS provides full data control, unlimited workflows, and better long-term cost efficiency.
- The setup includes persistent storage and automatic container updates for production-ready deployment.
What Is n8n?
n8n (short for “nodemation”) is an open-source workflow automation platform that enables you to connect APIs, automate repetitive tasks, and orchestrate complex data flows. It is comparable to Zapier or Make (formerly Integromat), but it is self-hosted and fully customizable.
Running n8n on a VPS provides:
- Full control over your data
- Unlimited workflows and integrations
- No per-workflow or per-user limits
- Complete flexibility and security
One-Click n8n Installation on Debian
The installer is designed specifically for:
- Debian 13 (Trixie)
- Debian 12 (Bookworm)
If you are looking to install n8n Debian servers in a production-ready way, this script configures the entire environment automatically.
It installs and configures:
- Docker and Docker Compose
- PostgreSQL database
- Traefik reverse proxy
- Automatic HTTPS using Let’s Encrypt
- Watchtower for automatic container updates
This ensures your n8n VPS is production-ready from the start.
Automatic Hostname and SSL Configuration
The installation script detects your VPS primary IP address and retrieves its reverse DNS (rDNS) hostname.
Traefik automatically requests and installs a Let’s Encrypt SSL certificate for that hostname, allowing secure HTTPS access without manual configuration.
This means:
- No manual SSL setup
- No certificate renewal management
- Works on any standard Debian VPS
Persistent and Secure Setup
Your n8n data and credentials are stored in PostgreSQL and Docker volumes, ensuring persistence across updates and reboots.
All services are configured to restart automatically and run in isolated containers for improved security and stability.
How to Install n8n on Debian
To install n8n on Debian, run:
curl -fsSL https://raw.githubusercontent.com/mvpsnet/n8n-vps/refs/heads/main/install-n8n-debian.sh | bash
After installation completes, access your instance at:
https://<your-server-rdns>
This method provides a fast and reliable way to install n8n Debian environments without manual configuration steps.
Why Use a VPS for n8n?
Hosting n8n on a VPS gives you full ownership of your automation stack, better performance, and predictable long-term costs compared to SaaS automation platforms.
With an n8n VPS, you can:
- Run unlimited workflows 24/7
- Integrate with APIs, webhooks, CRMs, databases, or even network appliances like n8n pfSense integrations
- Store credentials securely
- Scale as your automation needs grow
Host Your n8n VPS on MVPS.net
MVPS.net provides high-performance VPS servers across Europe, suitable for automation tools such as n8n.
Key benefits:
- Instant VPS setup
- Debian 12 and Debian 13 available
- NVMe / SSD storage
- Multiple European datacenter locations
- Affordable monthly pricing
The one-line installer works seamlessly on any compatible MVPS.net server.
Get Started with Your Own n8n VPS
You can find the full installation script and project documentation in the official n8n VPS GitHub repository, where the one-line installer for Debian is maintained and updated. To run n8n in a reliable production environment, choose a high-performance European VPS hosting provider that supports Debian 12 and Debian 13 with full root access and fast NVMe storage. Deploy your own n8n VPS in minutes and gain complete control over your automation workflows, infrastructure, and data.
