Levelrail
Skip to content

Self-host n8n with Docker ​

Build automations and connect your tools with a visual, node-based workflow editor.

This page describes the Levelrail template for n8n (Automation). It deploys the services below as one Docker Compose app on your own server.

Project site: https://docs.n8n.io.

Recommended memory: about 512 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
n8nn8nio/n8n:1.62.15678
n8n_data -> /home/node/.n8n

Environment variables ​

ServiceVariableValue
n8nN8N_ENCRYPTION_KEYGenerated at deploy
n8nN8N_HOSTPreset in the template
n8nN8N_PORTPreset in the template

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy n8n with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select n8n. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy n8n --name my-n8n

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Automation templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.