Files
n8n-local/README.md
2026-01-26 14:17:15 +08:00

24 lines
472 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# n8n 本地运行Docker Compose
## 前置要求
- 已安装并启动 Docker Desktop
- 终端能执行:
- docker -v
- docker compose version
## 安装与启动
```bash
git clone <你的仓库地址>
cd n8n-local
cp .env.example .env
# 如端口冲突,编辑 .env 修改 N8N_PORT=5679
docker compose up -d
docker compose ps
```
备注:
- 当前固定使用 `n8nio/n8n:2.2.4`
- `postgres` 加了健康检查,`n8n` 会等待数据库就绪后再启动