first commit
This commit is contained in:
23
README.md
Normal file
23
README.md
Normal file
@ -0,0 +1,23 @@
|
||||
# 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` 会等待数据库就绪后再启动
|
||||
Reference in New Issue
Block a user