Files
alist-serve-resource/docs/CONFIGURATION.md
T

28 lines
870 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.
# 配置说明
## 环境变量
全部见 `.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 时补充。