打包外网环境

This commit is contained in:
2023-10-20 15:21:11 +08:00
parent 0943a69112
commit e990133b64
12 changed files with 122 additions and 38 deletions

View File

@@ -0,0 +1,34 @@
lim:
tcpPort: 29000
webSocketPort: 29001
bossThreadSize: 1
workThreadSize: 8
heartBeatTime: 20000 #心跳超时时间 单位毫秒
brokerId: 1000
loginModel: 3
logicUrl: http://119.45.242.222:28000/v1
# * 多端同步模式1 只允许一端在线,手机/电脑/web 踢掉除了本client+imel的设备
# * 2 允许手机/电脑的一台设备 + web在线 踢掉除了本client+imel的非web端设备
# * 3 允许手机和电脑单设备 + web 同时在线 踢掉非本client+imel的同端设备
# * 4 允许所有端多设备登录 不踢任何设备
redis:
mode: single # 单机模式single 哨兵模式sentinel 集群模式cluster
database: 8
password: dSMIXBQrCBXiHHjk123
timeout: 3000 # 超时时间
poolMinIdle: 8 #最小空闲数
poolConnTimeout: 3000 # 连接超时时间(毫秒)
poolSize: 10 # 连接池大小
single: #redis单机配置
address: 43.139.191.204:6379
rabbitmq:
host: 119.45.242.222
port: 5672
addresses: 119.45.242.222
username: guest
password: guest
zkConfig:
zkAddr: 119.45.242.222:2181
zkConnectTimeOut: 5000