Self-host n8n with Levelrail

Verified

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

  • Authorn8n-ioVerified by Levelrail
  • LicenceLicenseRef-n8n-SUL
  • Memory512 MiB
  • Archarm64
  • Services1

How to self-host n8n

  1. Pull the images

    One image is pulled on your server.

    Show images
    • n8nio/n8n:1.62.1
  2. Create the app

    One service starts in a single Compose app, with 1 named volume mount for your data, on port 5678.

  3. Fill in the secrets

    1 secret is generated and stored encrypted, 2 settings are preset, you do not have to fill in anything.

  4. Open it

    Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.

n8n requirements

Memory
About 512 MiB
Architectures
amd64 image published, arm64 tested
Ports
5678
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
LicenseRef-n8n-SUL, source available
  • Verified. Verified on arm64 with image tag 1.62.1. Our CI ran this exact image version and it answered on its health path. Evidence
  • Host ports. It publishes port 5678 on the host, so open them in the VPS firewall only if you want that.

Install Levelrail first

On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then n8n. New to Levelrail? Install it on a fresh VPS first.

docker pull ghcr.io/glincker/levelrail:latest

Then levelrail-cli login --device. See Getting started and the n8n docs page.

Deploy n8n your way

Every format below deploys the same pinned images. Pick the one that fits how you work.

Deploy n8n from the CLI

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

Deploy n8n with the API

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/n8n/deploy

n8n configuration

n8n services

ServiceImagePortsVolumes
n8n n8nio/n8n:1.62.1 5678 n8n_data -> /home/node/.n8n

n8n environment variables

VariableServiceValue
N8N_ENCRYPTION_KEY n8n Generated at deploy
N8N_PORT n8n Preset by the template
WEBHOOK_URL n8n Preset by the template

Ports and volumes

Ports
5678
Volumes
1 named mount: n8n_data -> /home/node/.n8n

n8n FAQ

How much memory does n8n need?

The catalog lists about 512 MiB of memory for n8n.

Does n8n run on arm64?

For n8n, arm64 is tested; amd64 is image published.

What licence is n8n under?

n8n is licensed under LicenseRef-n8n-SUL, which is source-available, so read the terms before commercial use.

Does n8n need configuration before it starts?

No. The template fills in its own defaults and generates secrets at deploy time.

Which ports does n8n use?

n8n listens on port 5678 inside the stack.

Where does n8n keep its data?

In a named volume: n8n_data mounted at /home/node/.n8n.

Can I deploy n8n on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id n8n for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image n8nio/n8n:1.62.1 is what you deploy there.

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