n8n
vlatest
Workflow automation platform for connecting apps and building AI workflows
What's included
- n8n workflow automation (latest version via npm)
- Caddy web server with auto-HTTPS and basic auth
- SQLite by default, PostgreSQL optional
- Systemd service with auto-restart
After install
- Log in with basic auth, then with n8n owner credentials
- No setup wizard exposed to the internet
- Custom domain: N8N_HOST=n8n.example.com
- PostgreSQL: N8N_DB_TYPE=postgres
Supported Operating Systems
Ubuntu 24Ubuntu 25Debian 12Debian 13Rocky 9Rocky 10Alma 9Alma 10
Requirements
- RAM
- 1GB minimum
- Disk
- 5GB minimum
Configuration
| Variable | Default | Description |
|---|---|---|
| N8N_HOST | server hostname | Domain name or IP. Domains get auto-HTTPS via Let's Encrypt. |
| N8N_ADMIN_EMAIL | admin@hostname | Owner account email |
| N8N_ADMIN_PASS | random 24-char | Owner account password |
| N8N_AUTH_USER | admin | Username for Caddy basic auth |
| N8N_AUTH_PASS | random 24-char | Password for Caddy basic auth |
| N8N_DB_TYPE | sqlite | Database backend: sqlite or postgres |
| N8N_DB_PASS | random 24-char | PostgreSQL password (only used with postgres) |
| N8N_ENCRYPTION_KEY | random 24-char | Encryption key for credentials stored in n8n |
7 installsOfficial website →
Changelog
v1.0.02026-04-02
- Initial release with Caddy reverse proxy and auto-HTTPS
- Caddy basic auth + automated owner setup (no setup wizard exposed)
- SQLite default, PostgreSQL optional
- Systemd service with auto-restart
- Encryption key for credential storage