自托管 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.
- 安装和服务器设置
¥Installation and server setups
在任何平台上使用 npm 或 Docker 安装 n8n。或者,请参阅我们关于常用托管平台的指南。
¥Install n8n on any platform using npm or Docker. Or follow our guides to popular hosting platforms.
- 配置
¥Configuration
了解如何使用环境变量配置 n8n。
¥Learn how to configure n8n with environment variables.
- 用户和身份验证
¥Users and authentication
为你的 n8n 实例选择并设置用户身份验证。
¥Choose and set up user authentication for your n8n instance.
- 扩展
¥Scaling
管理数据、模式和进程,以确保 n8n 在大规模部署下平稳运行。
¥Manage data, modes, and processes to keep n8n running smoothly at scale.
¥ Scaling
- 保护 n8n
¥Securing n8n
通过设置 SSL、SSO 或双因素身份验证 (2FA),或者阻止或选择退出某些数据收集或功能,来保护你的 n8n 实例。
¥Secure your n8n instance by setting up SSL, SSO, or 2FA or blocking or opting out of some data collection or features.
- 入门套件
¥Starter kits
n8n 或 AI 新手?试用我们的自托管 AI 入门套件。由 n8n 精心打造,它将自托管的 n8n 平台与一系列兼容的 AI 产品和组件相结合,助你轻松构建自托管的 AI 工作流。
¥New to n8n or AI? Try our Self-hosted AI Starter Kit. Curated by n8n, it combines the self-hosted n8n platform with compatible AI products and components to get you started building self-hosted AI workflows.
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.