docs: update

This commit is contained in:
tangtaoit 2023-06-29 16:09:19 +08:00
parent 01af5510dd
commit 1973a3010b
3 changed files with 7 additions and 2 deletions

View File

@ -36,7 +36,7 @@ external:
## Docker 部署
```shell
docker run -d -p 5001:5001 -p 5100:5100 -p 5200:5200 -p 5300:5300 -e WK_EXTERNAL_IP=xxx.xxx.xxx.xx --name wukongim -v ~/wukongim:/root/wukongim wukongim/wukongim:latest
docker run -d -p 5001:5001 -p 5100:5100 -p 5172:5172 -p 5200:5200 -p 5300:5300 -e WK_EXTERNAL_IP=xxx.xxx.xxx.xx --name wukongim -v ~/wukongim:/root/wukongim wukongim/wukongim:latest
```
@ -68,13 +68,18 @@ docker-compose up -d
5100: app 长连接的 tcp 端口
5172: demo端口用于测试
5200: websocket 端口web 或 pc 长连接使用的
5300: 监控端口,可以查看服务的运行状态(待完善)
查看服务器信息: http://127.0.0.1:5001/varz
查看监控系统: http://127.0.0.1:5300/web
chat demo http://127.0.0.1:5172/chatdemo
## 验证部署
```shell

View File

@ -5,7 +5,7 @@
## 结构说明
![sdk结构图](./wksdk.png)
![sdk结构图](./wkjssdk.png)
``` js
// 聊天管理者

BIN
src/sdk/wkjssdk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB