n8n AI工作流自动化 是 AI Skill Hub 本期精选AI工具之一。综合评分 8.2 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
n8n AI工作流自动化 是一款基于 Shell 开发的开源工具,专注于 工作流自动化、本地部署、AI智能体 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
n8n AI工作流自动化 是一款基于 Shell 开发的开源工具,专注于 工作流自动化、本地部署、AI智能体 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 克隆仓库 git clone https://github.com/kossakovsky/n8n-install cd n8n-install # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 n8n-install --help # 基本运行 n8n-install [options] <input> # 详细使用说明请查阅文档 # https://github.com/kossakovsky/n8n-install
# n8n-install 配置说明 # 查看配置选项 n8n-install --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export N8N_INSTALL_CONFIG="/path/to/config.yml"
Deploy 30+ AI and automation tools with a single command. This open-source Docker Compose template creates a complete self-hosted environment with n8n (workflow automation), Flowise (AI agents), Ollama (local LLMs), vector databases (Qdrant, Weaviate), RAG engines, Supabase, monitoring stack, and more — all pre-configured behind Caddy reverse proxy with automatic HTTPS. Plus, optionally import 300+ community workflows during setup!
---
✅ Caddy, Postgres, and Redis - Core services for web proxy, database, and caching, which are always included.
The installer also makes the following powerful open-source tools available for you to select and deploy via an interactive wizard during setup:
✅ Appsmith - An open-source low-code platform for building internal tools, dashboards, and admin panels with a drag-and-drop UI builder.
✅ n8n - A low-code platform with over 400 integrations and advanced AI components to automate workflows.
✅ ComfyUI - A powerful, node-based UI for Stable Diffusion workflows. Build and run image-generation pipelines visually, with support for custom nodes and extensions.
✅ Crawl4ai - A flexible web crawler designed for AI, enabling you to extract data from websites for your projects.
✅ Docling - Universal document converter that transforms PDF, DOCX, PPTX, XLSX, HTML, and images into clean Markdown or JSON. Features advanced PDF parsing, OCR support, and a REST API with optional web UI. Perfect for document processing in n8n workflows.
✅ Dify - An open-source AI application development platform that provides comprehensive LLMOps capabilities, including workflow management, prompt engineering, RAG pipelines, and AI agent orchestration. Perfect for building production-ready AI applications.
✅ Flowise - A no-code/low-code AI agent builder that complements n8n perfectly, allowing you to create sophisticated AI applications with ease.
✅ Gost - Versatile HTTP/HTTPS proxy for routing AI service outbound traffic through a central proxy point
✅ Gotenberg - A stateless API for converting HTML, Markdown, Word, Excel, and other documents to PDF, PNG, or JPEG. Available only within the Docker network for internal use by n8n workflows and other services.
✅ Grafana - An open-source platform for visualizing monitoring data, helping you understand system performance at a glance.
✅ Langfuse - An open-source platform to help you observe and understand how your AI agents are performing, making it easier to debug and improve them.
✅ Letta - An open-source agent server and SDK that can be connected to various LLM API backends (OpenAI, Anthropic, Ollama, etc.), enabling you to build and manage AI agents.
✅ LightRAG - A simple and fast graph-based Retrieval-Augmented Generation system with automatic knowledge graph extraction, dual-level retrieval mechanisms, and incremental updates. Supports multiple storage backends (PostgreSQL, Neo4j, JSON) and embedding models.
✅ LibreTranslate - Self-hosted translation API (50+ languages).
✅ Neo4j - A graph database management system that allows you to model, store, and query data as a network of nodes and relationships.
✅ NocoDB - An open source Airtable alternative that turns any database into a smart spreadsheet with a no-code interface for building collaborative apps.
✅ Ollama - Run Llama 3, Mistral, Gemma, and other large language models locally.
✅ Open WebUI - A user-friendly, ChatGPT-like interface to interact privately with your AI models and n8n agents.
✅ PaddleOCR - A CPU-ready OCR API powered by PaddleX Basic Serving.
✅ Portainer - A lightweight, secure web UI to manage your Docker environment (containers, images, volumes, networks) with ease.
✅ Databasus - Database backups & monitoring with a self-hosted UI.
✅ Postiz - An open-source social media scheduling and publishing platform.
✅ Prometheus - An open-source monitoring and alerting toolkit to keep an eye on system health.
✅ Qdrant - A high-performance open-source vector store, specialized for AI. While Supabase also offers vector capabilities, Qdrant is included for its speed, making it ideal for demanding AI tasks.
✅ RAGApp - Open-source application to build Retrieval-Augmented Generation (RAG) assistants over your data. Provides a web UI for chat and an HTTP API for integration with your workflows.
✅ RAGFlow - An open-source RAG engine based on deep document understanding with Elasticsearch backend, providing truthful question-answering capabilities with well-founded citations from complex formatted data.
✅ SearXNG - A free, open-source internet metasearch engine. It aggregates results from numerous search services without tracking or profiling you, ensuring your privacy.
✅ Supabase - An open-source alternative to Firebase, providing database storage, user authentication, and more. It's a popular choice for AI applications.
✅ Uptime Kuma - Self-hosted uptime monitoring tool with notifications
✅ WAHA - WhatsApp HTTP API (REST API) that you can configure in a click! 3 engines: WEBJS (browser based), NOWEB (websocket nodejs), GOWS (websocket go).
✅ Weaviate - An open-source AI-native vector database with a focus on scalability and ease of use. It can be used for RAG, hybrid search, and more.
1. Domain Name: You need a registered domain name (e.g., yourdomain.com). 2. DNS Configuration: Before running the installation script, you must configure DNS A-record for your domain, pointing to the public IP address of the server where you'll install this system. Replace yourdomain.com with your actual domain: - Wildcard Record: A *.yourdomain.com -> YOUR_SERVER_IP 3. VPS (Virtual Private Server): A dedicated VPS with a public IP address is required. Home servers, shared hosting, or localhost setups are not supported. - Operating System: Ubuntu 24.04 LTS, 64-bit - For a minimal setup with n8n, Monitoring, Databasus and Portainer: 4 GB Memory / 2 CPU Cores / 40 GB Disk Space - For running all available services: at least 20 GB Memory / 4 CPU Cores / 60 GB Disk Space
This installer helps you create your own powerful, private AI workshop. Imagine having a suite of tools at your fingertips to:
This setup provides a comprehensive suite of cutting-edge services, all pre-configured to work together. Key advantages include:
queue mode by default, leveraging Redis for task management and Postgres for data storage. You can dynamically specify the number of n8n workers and task runners during installation, allowing for robust parallel processing of your workflows to handle demanding loads.The recommended way to install is using the provided main installation script.
git clone https://github.com/kossakovsky/n8n-install && cd n8n-install && sudo bash ./scripts/install.sh
This single command automates the entire setup process, including:
.env) with necessary secrets and your domain settings.During the installation, the script will prompt you for:
yourdomain.com). This is the domain for which you've configured the wildcard DNS record.Upon successful completion, the script will display a summary report. This report contains the access URLs and credentials for the deployed services. Save this information in a safe place!
See the Cloudflare Tunnel guide: cloudflare-instructions.md
The custom n8n Docker image (n8n/Dockerfile.n8n) includes the following system-level tools:
ffmpeg: A powerful multimedia framework for converting, recording, and streaming audio and video. Use it via the Execute Command node in n8n workflows for tasks like:If you need to free up disk space, you can run the Docker cleanup command. This removes all unused Docker containers, images, and volumes.
make clean
This can be useful for removing old images and freeing up space, but be aware that it will remove all unused data.
| Command | Description |
|---|---|
make install | Full installation |
make update | Update system and services (resets to origin) |
make update-preview | Preview available updates without applying (dry-run) |
make git-pull | Update for forks (merges from upstream/main) |
make clean | Remove unused Docker resources |
After successful installation, your services are up and running! Here's how to get started:
1. Access Your Services: The installation script provided a summary report with all access URLs and credentials. Please refer to that report. The main services will be available at the following addresses (replace yourdomain.com with your actual domain):
n8n.yourdomain.com (Log in with the email address you provided during installation and the initial password from the summary report. You may be prompted to change this password on first login.)appsmith.yourdomain.com (Low-code app builder)comfyui.yourdomain.com (Node-based Stable Diffusion UI)databasus.yourdomain.comdify.yourdomain.com (AI application development platform with comprehensive LLMOps capabilities)docling.yourdomain.com (Universal document converter with REST API; web UI available at /ui)flowise.yourdomain.com (Log in with the email address you provided during installation and the initial password from the summary report.)grafana.yourdomain.comlangfuse.yourdomain.comletta.yourdomain.comtranslate.yourdomain.comlightrag.yourdomain.comneo4j.yourdomain.comnocodb.yourdomain.comwebui.yourdomain.compaddleocr.yourdomain.comportainer.yourdomain.com (Protected by Caddy basic auth; on first login, complete Portainer admin setup)postiz.yourdomain.comprometheus.yourdomain.com (Typically used as a data source for Grafana)qdrant.yourdomain.comragapp.yourdomain.comragflow.yourdomain.comsearxng.yourdomain.comsupabase.yourdomain.comuptime-kuma.yourdomain.com (Uptime monitoring dashboard)waha.yourdomain.com (WhatsApp HTTP API; engines: WEBJS, NOWEB, GOWS)weaviate.yourdomain.comCOMPOSE_PROFILES=...,python-runner.python-runner/. The default entry point is python-runner/main.py.python-runner/requirements.txt; they will be installed automatically on container start.qdrant.yourdomain.com), Supabase, or Weaviate (weaviate.yourdomain.com) to store and retrieve information for your AI tasks like Retrieval Augmented Generation (RAG).flowise.yourdomain.com to create AI agents and applications. You can trigger Flowise agents from n8n or vice-versa.webui.yourdomain.com as a chat interface for your local AI models or n8n agents (e.g., using the n8n_pipe integration if configured).4. Check Monitoring (Optional): - Visit Grafana (grafana.yourdomain.com) to see dashboards monitoring your system's performance (data sourced from Prometheus).
Cloudflare Tunnel provides zero-trust access to your services without exposing any ports on your server. All traffic is routed through Cloudflare's secure network, providing DDoS protection and hiding your server's IP address.
| Command | Description |
|---|---|
make doctor | Run system diagnostics (checks DNS, SSL, containers, disk, memory) |
make setup-tls | Configure custom TLS certificates for corporate/internal use |
Run make help for the full list of available commands.
Get started quickly with a vast library of pre-built automations (optional import during setup)! This collection includes over 300 workflows covering a wide range of use cases:
🚦 What's inside?
Here are solutions to common issues you might encounter:
n8n-install 是一个专为开发者设计的私有化部署 AI 自动化平台。它允许你在自己的服务器上构建一个强大的 AI Homelab,通过集成多种开源工具,实现从本地 LLM 运行到复杂工作流自动化的全栈能力,确保数据隐私与掌控力。
本项目集成了多种顶尖 AI 工具:支持通过 Ollama 在本地运行 LLM,并利用 Open WebUI 提供类似 ChatGPT 的交互体验;通过 n8n 实现拥有 400+ 集成能力的自动化工作流;同时支持 Flowise、Dify、LangChain 以及 Qdrant、Weaviate 等向量数据库,构建强大的 AI Agents 与 RAG 应用。所有服务均可通过交互式脚本一键部署。
在开始安装之前,请确保满足以下前提条件:1. 拥有一个已注册的域名(例如 `yourdomain.com`);2. 完成 DNS 配置,将域名的 A 记录指向你服务器的公网 IP 地址,以便 Caddy 进行反向代理和 SSL 证书管理。
推荐使用官方提供的自动化安装脚本进行部署。首先通过 SSH 连接到你的服务器,然后执行以下命令:`git clone https://github.com/kossakovsky/n8n-install && cd n8n-install && sudo bash ./scripts/install.sh`。该脚本会自动完成系统更新、防火墙配置、基础安全设置以及 Docker 容器的编排,实现全自动化的环境搭建。
安装完成后,脚本会生成一份包含所有服务访问 URL 和凭据的总结报告。请务必保存该报告。你可以通过配置好的子域名(如 `n8n.yourdomain.com`)访问各个服务。对于 AI 自动化需求,你可以直接参考 n8n 官方提供的 AI Agent 或 OpenAI Assistant 工作流模板进行快速上手。
本项目提供了一个可选的内部工具:Python Runner。它是一个运行在 Docker 内部网络的服务,允许你在与 n8n、Postgres、Qdrant 等服务相同的网络环境下执行自定义 Python 代码。该服务不会暴露外部端口,也不会通过 Caddy 进行代理,确保了高度的安全性。你可以在安装或更新时的 Service Selection Wizard 中手动开启此功能。
本项目内置了丰富的社区工作流库,包含超过 300 个预构建的自动化方案。这些工作流涵盖了 AI Agents、Chatbots(支持 RAG、LangChain、Ollama、OpenAI、Claude、Gemini 等)、Gmail 集成以及各类复杂的业务逻辑,支持在安装过程中选择性导入,帮助你快速构建智能化应用。
如果在安装或使用过程中遇到问题,请参考本项目提供的 Troubleshooting 章节。常见的维护工作包括通过交互式向导更新服务或通过 Cloudflare Tunnel 实现零信任安全访问,以隐藏服务器 IP 并获得 DDoS 防护。
优质的AI自动化部署方案,集成度高、组件丰富。活跃维护确保兼容性。适合寻求私有化AI工作流的用户。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
经综合评估,n8n AI工作流自动化 在AI工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | n8n-install |
| 原始描述 | 开源n8n工作流:🚀 Self-hosted AI automation platform. Deploy n8n, Ollama, Flowise, RAG, Supabas。⭐856 · Shell |
| Topics | 工作流自动化本地部署AI智能体开源平台 |
| GitHub | https://github.com/kossakovsky/n8n-install |
| License | Apache-2.0 |
| 语言 | Shell |
收录时间:2026-05-13 · 更新时间:2026-05-16 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。