这是一款免费且开源、采用公平代码许可的基于节点的工作流自动化工具,它通过直观的节点连接方式,帮助用户轻松构建和自动化各类复杂工作流程,适用于个人、团队及企业等不同场景,兼具灵活性与易用性,致力于为用户提供高效、透明的自动化解决方案。

1.3千 次收藏下载次数: 0状态:社区镜像维护者:n8n 工作流自动化平台仓库类型:镜像最近更新:9 天前
让 AI 帮你使用轩辕镜像?

如果你使用 DeepSeek元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。

只需在 AI 对话中先发送下面这句话即可:

请先完整阅读并严格遵守以下文档中的全部规则与要求:

https://xuanyuan.cloud/agents.md

在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。

查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AIDeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。

下载命令
点击查看

!n8n.io - Workflow Automation

n8n - Secure Workflow Automation for Technical Teams

n8n is a workflow automation platform that gives technical teams the flexibility of code with the speed of no-code. With 400+ integrations, native AI capabilities, and a fair-code license, n8n lets you build powerful automations while maintaining full control over your data and deployments.

!https://raw.githubusercontent.com/n8n-io/n8n/master/assets/n8n-screenshot-readme.png

Key Capabilities

  • Code When You Need It: Write JavaScript/Python, add npm packages, or use the visual interface
  • AI-Native Platform: Build AI agent workflows based on LangChain with your own data and models
  • Full Control: Self-host with our fair-code license or use our cloud offering
  • Enterprise-Ready: Advanced permissions, SSO, and air-gapped deployments
  • Active Community: 400+ integrations and 900+ ready-to-use https://n8n.io/workflows

Contents

  • n8n - Workflow automation tool
    • Key Capabilities
    • Contents
    • Demo
    • Available integrations
    • Documentation
    • Start n8n in Docker
    • Start n8n with tunnel
    • Use with PostgreSQL
    • Passing sensitive data using files
    • Example server setups
    • Updating
      • Pull latest (stable) version
      • Pull specific version
      • Pull next (unstable) version
      • Updating with Docker Compose
    • Setting Timezone
    • Build Docker-Image
    • What does n8n mean and how do you pronounce it?
    • Support
    • Jobs
    • License

Demo

This :tv: short video (< 4 min) goes over key concepts of creating workflows in n8n.

Available integrations

n8n has 200+ different nodes to automate workflows. A full list can be found at https://n8n.io/integrations.

Documentation

The official n8n documentation can be found at [***]

Additional information and example workflows are available on the website at [***]

Start n8n in Docker

In the terminal, enter the following:

bash
docker volume create n8n_data

docker run -it --rm \
 --name n8n \
 -p 5678:5678 \
 -v n8n_data:/home/node/.n8n \
 docker.n8n.io/n8nio/n8n

This command will download the required n8n image and start your container. You can then access n8n by opening: http://localhost:5678

To save your work between container restarts, it also mounts a docker volume, n8n_data. The workflow data gets saved in an SQLite database in the user folder (/home/node/.n8n). This folder also contains important data like the webhook URL and the encryption key used for securing credentials.

If this data can't be found at startup n8n automatically creates a new key and any existing credentials can no longer be decrypted.

Start n8n with tunnel

WARNING: This is only meant for local development and testing and should NOT be used in production!

n8n must be reachable from the internet to make use of webhooks - essential for triggering workflows from external web-based services such as GitHub. To make this easier, n8n has a special tunnel service which redirects requests from our servers to your local n8n instance. You can inspect the code running this service here: https://github.com/n8n-io/localtunnel

To use it simply start n8n with --tunnel

bash
docker volume create n8n_data

docker run -it --rm \
 --name n8n \
 -p 5678:5678 \
 -v n8n_data:/home/node/.n8n \
 docker.n8n.io/n8nio/n8n \
 start --tunnel

Use with PostgreSQL

By default, n8n uses SQLite to save credentials, past executions and workflows. However, n8n also supports using PostgreSQL.

WARNING: Even when using a different database, it is still important to persist the /home/node/.n8n folder, which also contains essential n8n user data including the encryption key for the credentials.

In the following commands, replace the placeholders (depicted within angled brackets, e.g. <POSTGRES_USER>) with the actual data:

bash
docker volume create n8n_data

docker run -it --rm \
 --name n8n \
 -p 5678:5678 \
 -e DB_TYPE=postgresdb \
 -e DB_POSTGRESDB_DATABASE=<POSTGRES_DATABASE> \
 -e DB_POSTGRESDB_HOST=<POSTGRES_HOST> \
 -e DB_POSTGRESDB_PORT=<POSTGRES_PORT> \
 -e DB_POSTGRESDB_USER=<POSTGRES_USER> \
 -e DB_POSTGRESDB_SCHEMA=<POSTGRES_SCHEMA> \
 -e DB_POSTGRESDB_PASSWORD=<POSTGRES_PASSWORD> \
 -v n8n_data:/home/node/.n8n \
 docker.n8n.io/n8nio/n8n

A full working setup with docker-compose can be found https://github.com/n8n-io/n8n-hosting/blob/main/docker-compose/withPostgres/README.md.

Passing sensitive data using files

To avoid passing sensitive information via environment variables, "_FILE" may be appended to some environment variable names. n8n will then load the data from a file with the given name. This makes it possible to load data easily from Docker and Kubernetes secrets.

The following environment variables support file input:

  • DB_POSTGRESDB_DATABASE_FILE
  • DB_POSTGRESDB_HOST_FILE
  • DB_POSTGRESDB_PASSWORD_FILE
  • DB_POSTGRESDB_PORT_FILE
  • DB_POSTGRESDB_USER_FILE
  • DB_POSTGRESDB_SCHEMA_FILE

Example server setups

Example server setups for a range of cloud providers and scenarios can be found in the https://docs.n8n.io/hosting/installation/server-setups/.

Updating

Before you upgrade to the latest version make sure to check here if there are any breaking changes which may affect you: https://github.com/n8n-io/n8n/blob/master/packages/cli/BREAKING-CHANGES.md

From your Docker Desktop, navigate to the Images tab and select Pull from the context menu to download the latest n8n image.

You can also use the command line to pull the latest, or a specific version:

Pull latest (stable) version

bash
docker pull docker.n8n.io/n8nio/n8n

Pull specific version

bash
docker pull docker.n8n.io/n8nio/n8n:0.220.1

Pull next (unstable) version

bash
docker pull docker.n8n.io/n8nio/n8n:next

Stop the container and start it again:

  1. Get the container ID:
bash
docker ps -a
  1. Stop the container with ID container_id:
bash
docker stop [container_id]
  1. Remove the container (this does not remove your user data) with ID container_id:
bash
docker rm [container_id]
  1. Start the new container:
bash
docker run --name=[container_name] [options] -d docker.n8n.io/n8nio/n8n

Updating with Docker Compose

If you run n8n using a Docker Compose file, follow these steps to update n8n:

bash
# Pull latest version
docker compose pull

# Stop and remove older version
docker compose down

# Start the container
docker compose up -d

Setting the timezone

To specify the timezone n8n should use, the environment variable GENERIC_TIMEZONE can be set. One example where this variable has an effect is the Schedule node.

The system's timezone can be set separately with the environment variable TZ. This controls the output of certain scripts and commands such as $ date.

For example, to use the same timezone for both:

bash
docker run -it --rm \
 --name n8n \
 -p 5678:5678 \
 -e GENERIC_TIMEZONE="Europe/Berlin" \
 -e TZ="Europe/Berlin" \
 docker.n8n.io/n8nio/n8n

For more information on configuration and environment variables, please see the https://docs.n8n.io/hosting/configuration/environment-variables/.

Build Docker-Image

bash
docker buildx build --platform linux/amd64,linux/arm64 --build-arg N8N_VERSION=<VERSION> -t n8n:<VERSION> .

# For example:
docker buildx build --platform linux/amd64,linux/arm64 --build-arg N8N_VERSION=1.30.1 -t n8n:1.30.1 .

What does n8n mean and how do you pronounce it?

Short answer: It means "nodemation" and it is pronounced as n-eight-n.

Long answer: I get that question quite often (more often than I expected) so I decided it is probably best to answer it here. While looking for a good name for the project with a free domain I realized very quickly that all the good ones I could think of were already taken. So, in the end, I chose nodemation. "node-" in the sense that it uses a Node-View and that it uses Node.js and "-mation" for "automation" which is what the project is supposed to help with. However, I did not like how long the name was and I could not imagine writing something that long every time in the CLI. That is when I then ended up on "n8n". Sure it does not work perfectly but neither does it for Kubernetes (k8s) and I did not hear anybody complain there. So I guess it should be ok.

Support

If you need more help with n8n, you can ask for support in the [***] This is the best source of answers, as both the n8n support team and community members can help.

Jobs

If you are interested in working for n8n and so shape the future of the project check out our job posts.

License

You can find the license information https://github.com/n8n-io/n8n/blob/master/README.md#license.

更多相关 Docker 镜像与资源

以下是 n8nio/n8n 相关的常用 Docker 镜像,适用于 工作流自动化、数据集成、任务编排 等不同场景:

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面

轩辕镜像加速拉取命令点我查看更多 n8n 镜像标签

docker pull docker.xuanyuan.run/n8nio/n8n:<标签>

DockerHub 原生拉取命令

docker pull n8nio/n8n:<标签>

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

专业版 · 高速稳定拉取镜像
50GB 仅 ¥7/年
高速镜像下载在线技术支持99.95% SLA 保障付费会员免广告