mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-26 14:26:06 +00:00
chore: 修改aiocqhttp适配器默认端口为2280
This commit is contained in:
+2
-1
@@ -8,5 +8,6 @@ services:
|
|||||||
- ./plugins:/app/plugins
|
- ./plugins:/app/plugins
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
ports:
|
ports:
|
||||||
- 5300:5300
|
- 5300:5300 # 供 WebUI 使用
|
||||||
|
- 2280-2290:2280-2290 # 供消息平台适配器方向连接
|
||||||
# 根据具体环境配置网络
|
# 根据具体环境配置网络
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
"adapter": "aiocqhttp",
|
"adapter": "aiocqhttp",
|
||||||
"enable": false,
|
"enable": false,
|
||||||
"host": "0.0.0.0",
|
"host": "0.0.0.0",
|
||||||
"port": 8080,
|
"port": 2280,
|
||||||
"access-token": ""
|
"access-token": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -68,12 +68,12 @@
|
|||||||
"host": {
|
"host": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "0.0.0.0",
|
"default": "0.0.0.0",
|
||||||
"description": "监听的 IP 地址,一般就保持 0.0.0.0 就可以了。使用 aiocqhttp 时,LangBot 作为服务端被动等待框架连接,请在 Lagrange 等框架中设置被动 ws 地址或者反向 ws 地址(具体视框架而定)为 LangBot 监听的地址,且路径为/ws,例如:ws://127.0.0.1:8080/ws"
|
"description": "监听的 IP 地址,一般就保持 0.0.0.0 就可以了。使用 aiocqhttp 时,LangBot 作为服务端被动等待框架连接,请在 Lagrange 等框架中设置被动 ws 地址或者反向 ws 地址(具体视框架而定)为 LangBot 监听的地址,且路径为/ws,例如:ws://127.0.0.1:2280/ws"
|
||||||
},
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 8080,
|
"default": 2290,
|
||||||
"description": "设置监听的端口,默认8080,需在 Lagrange 等框架中设置为与此处一致的端口"
|
"description": "设置监听的端口,默认2280,需在 Lagrange 等框架中设置为与此处一致的端口"
|
||||||
},
|
},
|
||||||
"access-token": {
|
"access-token": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
Reference in New Issue
Block a user