---
title: "Deploy N8N (Dockerfile -> Docker image)"
description: "Migrate N8N from Legacy Dockerfile to Docker image"
category: "Automation"
url: https://railway.com/deploy/4-b6Z2
---

# Deploy N8N (Dockerfile -> Docker image)

Migrate N8N from Legacy Dockerfile to Docker image

**[Deploy N8N (Dockerfile -> Docker image) on Railway](https://railway.com/template/4-b6Z2)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/4-b6Z2/manifest.json

- **Creator:** Jack
- **Category:** Automation
- **Total deploys:** 46

## Template content

### Primary

- **Image:** n8nio/n8n
- **Start command:** `n8n start`
- **Health check:** /healthz
- **Public domain:** Yes

## Documentation

⚠️ This template is **designed for deployment on projects with legacy plugins following migration**, replacing the deprecated basic-auth and utilizing the docker image instead of a repo.

![n8n.io - Workflow Automation](https://user-images.githubusercontent.com/65276001/173571060-9f2f6d7b-bac0-43b6-bdb2-001da9694058.png)

# n8n - Workflow automation tool

n8n is an extendable workflow automation tool. With a [fair-code](http://faircode.io) distribution model, n8n
will always have visible source code, be available to self-host, and allow you to add your own custom
functions, logic and apps. n8n's node-based approach makes it highly versatile, enabling you to connect
anything to everything.

![n8n.io - Screenshot](https://raw.githubusercontent.com/n8n-io/n8n/master/assets/n8n-screenshot.png)

## Demo

[📺 A short video (&lt; 4 min)](https://www.youtube.com/watch?v=RpjQTGKm-ok) that goes over key concepts of
creating workflows in n8n.

## Available integrations

n8n has 200+ different nodes to automate workflows. The list can be found on:
[https://n8n.io/integrations](https://n8n.io/integrations)

## Documentation

The official n8n documentation can be found on our [documentation website](https://docs.n8n.io)

Additional information and example workflows on the [n8n.io website](https://n8n.io)

The release notes can be found [here](https://docs.n8n.io/release-notes/) and the list of breaking
changes [here](https://github.com/n8n-io/n8n/blob/master/packages/cli/BREAKING-CHANGES.md).

## License

n8n is [fair-code](http://faircode.io) distributed under the
[**Sustainable Use License**](https://github.com/n8n-io/n8n/blob/master/packages/cli/LICENSE.md) and the
[**n8n Enterprise License**](https://github.com/n8n-io/n8n/blob/master/packages/cli/LICENSE_EE.md).

Proprietary licenses are available for enterprise customers. [Get in touch](mailto:license@n8n.io)

Additional information about the license model can be found in the
[docs](https://docs.n8n.io/reference/license/).

## Similar templates

- [N8N Main + Worker](https://railway.com/deploy/n8n-main-worker) — Deploy and Host N8N with Inactive worker.
- [Evolution API with n8n](https://railway.com/deploy/evolution-api-with-n8n) — Automate WhatsApp workflows with Evolution API, n8n, and Postgres.
- [Postgres Backup](https://railway.com/deploy/postgres-s3-backups) — Cron-based PostgreSQL backup to bucket storage

Open this page in a browser: https://railway.com/deploy/4-b6Z2
