Configs2026年4月5日·1 分钟阅读

Self-Hosted AI Starter Kit — Local AI with n8n

Docker Compose template by n8n that bootstraps a complete local AI environment with n8n workflow automation, Ollama LLMs, Qdrant vector database, and PostgreSQL. 14,500+ stars.

TO
TokRepo精选 · Community
快速使用

先拿来用,再决定要不要深挖

这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。

```bash git clone https://github.com/n8n-io/self-hosted-ai-starter-kit.git cd self-hosted-ai-starter-kit cp .env.example .env docker compose --profile cpu up ``` GPU 加速:NVIDIA 用 `--profile gpu-nvidia`,AMD 用 `--profile gpu-amd`。 启动后访问 `http://localhost:5678/`。 ---
## 简介 Self-Hosted AI Starter Kit 是 n8n 官方开源的 Docker Compose 模板,一条命令搭建完整的本地 AI 开发环境。拥有 14,500+ GitHub Star 和 Apache 2.0 许可证,打包了 n8n(400+ 集成)、Ollama(本地大模型)、Qdrant(向量数据库)和 PostgreSQL。在自己的硬件上构建 AI 工作流、RAG 管道和聊天机器人——无需云 API,数据完全私有。 适合人群:想要零云依赖的自托管 AI 工作流平台的开发者和团队。 包含组件:n8n、Ollama、Qdrant、PostgreSQL。 安装时间:5 分钟以内。 --- ## 包含服务 | 服务 | 用途 | 端口 | |------|------|------| | n8n | 低代码工作流自动化,400+ 集成 | 5678 | | Ollama | 本地运行大模型 | 11434 | | Qdrant | 向量数据库 | 6333 | | PostgreSQL | 持久化存储 | 5432 | ### 你可以构建的 - RAG 聊天机器人、AI 工作流自动化、文档处理、代码生成、数据分析 ### FAQ **Q: Self-Hosted AI Starter Kit 是什么?** A: n8n 官方的 Docker Compose 模板,一条命令搭建 n8n + Ollama + Qdrant + PostgreSQL 的完整本地 AI 环境。 **Q: 免费吗?** A: 完全免费开源(Apache 2.0),所有服务均可自托管。 ---
🙏

来源与感谢

> Created by [n8n-io](https://github.com/n8n-io). Licensed under Apache 2.0. > > [self-hosted-ai-starter-kit](https://github.com/n8n-io/self-hosted-ai-starter-kit) — ⭐ 14,500+

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产