Deploy n8n Single Node
Workflow automation platform
Just deployed
/data
Deploy and Host n8n Single Node on Railway
n8n is a fair-code licensed workflow automation platform that combines visual building with custom code. With 400+ integrations and native AI capabilities, it lets you automate everything from simple tasks to complex multi-step AI agent workflows. This single node template runs one n8n instance with the built-in SQLite database for a low-cost, minimal-dependency deployment.
About Hosting n8n Single Node
This template deploys a single n8n instance using the default SQLite database for storage, making it the most cost-effective way to self-host n8n. Since it runs only one container with no external database or Redis dependency, resource usage and costs stay minimal. The instance handles the web UI, workflow execution, webhook triggers, and scheduling all in one process. The timezone is configured for Australia/Sydney. This single-instance setup is well-suited for individuals, small teams, or anyone getting started with self-hosted workflow automation without needing the horizontal scaling of queue mode.
Note: This is a single instance deployment. It does not support queue mode or horizontal scaling with workers. For high-volume production workloads requiring distributed execution, consider a multi-node setup with PostgreSQL and Redis.
Common Use Cases
- Automate business workflows by connecting 400+ apps like Slack, Google Sheets, GitHub, and databases with a visual drag-and-drop editor
- Build and run self-hosted AI agent workflows using built-in LangChain nodes and LLM integrations with full control over data privacy
- Replace cron jobs and scheduled tasks with reliable, observable workflow executions that include retries, error handling, and execution history
Dependencies for n8n Single Node Hosting
- None — this template uses n8n's built-in SQLite database and requires no external services
Deployment Dependencies
Implementation Details
Environment variables used in this template:
# Enforce secure permissions on configuration files (required for Docker)
N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
# Timezone configuration (affects schedule triggers and execution timestamps)
GENERIC_TIMEZONE=Australia/Sydney
TZ=Australia/Sydney
# Run as root to avoid volume permission issues on Railway
RAILWAY_RUN_UID=0
n8n exposes port 5678 for the web UI, API, and webhook endpoints. Persistent storage should be mounted at /root/.n8n to retain workflows, credentials, and execution history across deployments (the data directory is /root/.n8n because the container runs as root via RAILWAY_RUN_UID=0).
Why Deploy n8n Single Node on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying n8n Single Node on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
GENERIC_TIMEZONE
The n8n instance timezone
