docs: 修正配置文件头部的旧版复制说明,明确 bot 为可选运维工具
- 7 个配置文件的头部仍写着「cp config.example.yaml config.yaml」, 但该文件已不存在(现为直接可用的 config.yaml),改为准确说明 - config/bot 补充说明:飞书通知是可选运维工具,非平台功能, 默认不启动;使用需自行在飞书开放平台创建应用,不提供企业凭据 - README 同步:去掉「开源未提供企业凭据」的措辞,改为使用者自备
This commit is contained in:
@@ -31,13 +31,15 @@ docker compose logs -f mysql
|
||||
|
||||
```bash
|
||||
docker compose --profile with-mock up -d # 运营商接口挡板
|
||||
docker compose --profile with-bot up -d # 飞书通知
|
||||
docker compose --profile with-bot up -d # 飞书通知(运维自用)
|
||||
docker compose --profile with-nginx up -d # 自带反向代理
|
||||
```
|
||||
|
||||
多个 profile 可组合:`--profile with-mock --profile with-nginx up -d`
|
||||
|
||||
`with-bot` 需要先在 `config/bot/config.yaml` 填入有效的飞书应用 `appId` / `appSecret`;开源默认配置未提供企业凭据,不配置时 bot 无法启动。默认启动不包含 bot。
|
||||
`with-bot` 是把全量同步等运维事件推送到飞书群的**内部运维工具**,不是平台功能。它需要你自己的飞书自建应用凭证(`config/bot/config.yaml` 的 `appId` / `appSecret` / `chatId`),没填就不启动。
|
||||
|
||||
**默认不启动,也不影响平台功能**;不需要飞书通知就完全不用管它。
|
||||
|
||||
## 镜像版本
|
||||
|
||||
|
||||
Reference in New Issue
Block a user