自托管 n8n(Self-hosting n8n)#
本节提供有关为企业版和社区自托管版设置 n8n 的指南。社区版是免费的,企业版则不是。
🌐 This section provides guidance on setting up n8n for both the Enterprise and Community self-hosted editions. The Community edition is free, the Enterprise edition isn't.
请参阅 社区版功能 了解可用功能列表。
🌐 See Community edition features for a list of available features.
-
安装与服务器设置
使用 npm 或 Docker 在任何平台上安装 n8n。或者按照我们的指南在热门托管平台上安装。
-
配置
了解如何使用环境变量配置 n8n。
-
用户和身份验证
为你的 n8n 实例选择并设置用户身份验证。
-
缩放
管理数据、模式和进程,以确保 n8n 在大规模部署下平稳运行。
-
保护 n8n
通过设置 SSL、SSO 或双因素身份验证 (2FA),或者阻止或选择退出某些数据收集或功能,来保护你的 n8n 实例。
-
入门套件
刚接触 n8n 或 AI?试试我们的自托管 AI 入门套件。由 n8n 精心策划,它将自托管的 n8n 平台与兼容的 AI 产品和组件结合,帮助你快速开始构建自托管 AI 工作流。
Self-hosting knowledge prerequisites
Self-hosting n8n requires technical knowledge, including:
- Setting up and configuring servers and containers
- Managing application resources and scaling
- Securing servers and applications
- Configuring n8n
n8n recommends self-hosting for expert users. Mistakes can lead to data loss, security issues, and downtime. If you aren't experienced at managing servers, n8n recommends n8n Cloud.