Phase 1-3: AList stock deployment, NocoDB 7-table schema, W1/W2 n8n workflows + docs

This commit is contained in:
2026-08-22 19:26:06 +08:00
commit 71acb88078
21 changed files with 2127 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
# 配置说明
## 环境变量
全部见 `.env.example`。核心变量:
| 变量 | 用途 |
|---|---|
| `JWT_SECRET` | AList 会话签名密钥(生产必换) |
| `ALIST_URL` | n8n 访问 AList 的内网地址 |
| `ALIST_ADMIN_USERNAME/PASSWORD` | admin 登录(换 token) |
| `NOCODB_URL` / `NOCODB_TOKEN` | 业务 SOT |
| `N8N_ENCRYPTION_KEY` | n8n credential 加密 |
## AList 关键配置
- `JWT_EXPIRE=2h`:session 有效期。
- 不设 `ALIST_CUSTOM_CSS/JS`(stock)。
- 端口映射 `5247:5244`(host → container)。
## NocoDB / n8n
- 复用现有运行中的 NocoDB(`https://nocodb.hoelee.com`)与 n8n(`https://auto.hoelee.com`),
本 compose **不重复部署**它们。
- 只需在 NocoDB 建表(见 DATABASE_SCHEMA.md)、在 n8n 建 workflow(见 N8N_WORKFLOWS.md)。
## 具体参数在实施 Phase 2/3 时补充。