n8n is a powerful open-source workflow automation tool. Zerops recipe for n8n offers a scalable solution — n8n server with separate scalable workers, PostgreSQL database, Valkey (Redis alternative) for worker communication, S3 storage for files, and Mailpit for email testing.
You can either click the deploy button to deploy directly on Zerops, or manually copy the import yaml to the import dialog in the Zerops app.
- n8n running on Zerops Node.js service with auto-scaling
- Separate n8n workers for parallel task processing with auto-scaling
- Zerops PostgreSQL 16 service as database
- Zerops Valkey (Redis alternative) service for communication between main server and workers
- Zerops Object Storage (S3 compatible) service for file storage
- Logs set up to use syslog and accessible through Zerops GUI
- Utilization of Zerops built-in environment variables system
- Mailpit as SMTP mock server for email testing
Base of the recipe is ready for production, the difference comes down to:
- Use highly available version of the PostgreSQL database (change
mode
fromNON_HA
toHA
in recipe YAML,db
service section) - Use production-ready third-party SMTP server instead of Mailpit (change
N8N_SMTP_
secret variables in recipe YAMLapp
service)
If you want to modify your existing n8n app to efficiently run on Zerops, these are the general steps we took:
- Add zerops.yml to your repository, our example includes optimized build process and configuration for multiple workers
- Utilize Zerops environment variables and secrets to setup database, S3 storage, Valkey, and other services
Need help setting your project up? Join Zerops Discord community.