Skip to main content
n8n is a workflow automation tool with a visual, node-based editor that connects your apps and APIs. This guide runs it as a single Levelrail app with its data in one named volume.

Deploy it

Then add a domain for the editor so it is served over HTTPS. See domains and ingress.

Security and requirements

Level: Standard. The template has no privileged-container finding. What this template needs:
  • Publishes ports directly on the host (n8n): 5678:5678.
  • Passwords and keys are generated at deploy time (n8n): N8N_ENCRYPTION_KEY.
  • Stores data in named volumes (n8n): n8n_data.
The encryption key is generated at deploy time and stored as a secret, not written into the template. n8n uses it to encrypt the credentials you save in workflows, so keep it safe: without it, those saved credentials cannot be decrypted.

What Levelrail adds

What a raw docker compose misses

  • The image is pinned to n8nio/n8n:1.62.1, but the encryption key is a $SERVICE_HEX_64_ENCRYPTIONKEY placeholder. Plain Docker Compose cannot resolve it, so you would generate and store the key yourself.
  • 5678:5678 is published on the host, so the editor is reachable without a domain or filter unless you put one in front of it.
  • Compose does not back up n8n_data, so workflows and credentials exist on one disk only.
  • Compose has no rollback to an earlier revision. Levelrail keeps previous images for that.

Next steps

Last modified on October 20, 2026