N8N + Worker + Webhook + External DB
n8n with Separate Worker & Webhook using External DB
Webhook
n8nio/n8n
Just deployed
Worker
n8nio/n8n
Just deployed
Primary
n8nio/n8n
Just deployed
Redis
bitnami/redis
Just deployed
/bitnami
This Railway template deploys n8n with a scalable architecture, separating the worker and webhook processes while utilizing an external database for persistence. This setup enhances performance, reliability, and scalability, making it ideal for production environments.
š§ Features:
- Separate Worker & Webhook: Ensures efficient load distribution.
- External Database Support: Uses PostgreSQL or MySQL for better persistence.
- Optimized for Railway: Pre-configured for seamless deployment.
- Scalable & Modular: Easily expand to match your workflow needs.
š Get Started:
- Deploy the template to Railway.
- Configure environment variables.
- Enjoy a high-performance, scalable n8n setup!
Template Content
Webhook
n8nio/n8nDB_POSTGRESDB_HOST
DB_POSTGRESDB_USER
DB_POSTGRESDB_DATABASE
DB_POSTGRESDB_PASSWORD
Worker
n8nio/n8nDB_POSTGRESDB_HOST
DB_POSTGRESDB_USER
DB_POSTGRESDB_DATABASE
DB_POSTGRESDB_PASSWORD
Primary
n8nio/n8nGENERIC_TIMEZONE
DB_POSTGRESDB_HOST
DB_POSTGRESDB_USER
DB_POSTGRESDB_DATABASE
DB_POSTGRESDB_PASSWORD
Redis
bitnami/redis