n8n
Workflow automation and AI agents with a visual editor and code when you need it, on your own server
n8n (v2.45.4) is a fair-code platform for AI agents and workflow automation: a visual canvas, JavaScript and Python when you need them, and 1500+ integrations.
Deploy from this page: TryDirect provisions the server, starts n8n with PostgreSQL and generates the database password, the encryption key for your stored credentials and your owner password for this deployment. Nothing is shared between deployments.
What's included
| Service | Port | Description |
|---|---|---|
| n8n | 5678 (public) | n8nio/n8n:2.45.4 |
| postgres | internal | postgres:17.11-alpine, workflows and executions |
What you configure
- ADMIN_EMAIL: your owner login. The owner account exists before
n8n starts serving, so nobody else can claim a fresh instance. The owner password is generated and shown in your project's secrets.
The owner email and password are applied on every start; change them in the deployment's secrets, not in the n8n UI.
Requirements
- 2 GB RAM or more
- The UI is served over plain HTTP on port 5678; put it behind HTTPS
before using it for real credentials or public webhooks
Alternative: deploy with the Stacker CLI
git clone https://github.com/trydirect/awesome-selfhosted-stacker.git
cd awesome-selfhosted-stacker/stacker-projects/n8n
cp .env.example .env # set ADMIN_EMAIL
./scripts/generate-secrets.sh
stacker deploySupported Clouds
