内网部署

This commit is contained in:
2024-01-26 12:56:13 +08:00
parent 7dc111e89d
commit c2e9f24a0d
28 changed files with 243 additions and 68 deletions

View File

@@ -6,7 +6,7 @@ lim:
heartBeatTime: 20000 #心跳超时时间 单位毫秒
brokerId: 1000
loginModel: 3
logicUrl: http://172.16.2.3:28000/v1
logicUrl: http://192.168.2.181:28000/v1
# * 多端同步模式1 只允许一端在线,手机/电脑/web 踢掉除了本client+imel的设备
# * 2 允许手机/电脑的一台设备 + web在线 踢掉除了本client+imel的非web端设备
# * 3 允许手机和电脑单设备 + web 同时在线 踢掉非本client+imel的同端设备
@@ -15,20 +15,20 @@ lim:
redis:
mode: single # 单机模式single 哨兵模式sentinel 集群模式cluster
database: 8
password: Mars@23600800
password: dSMIXBQrCBXiHHjk123
timeout: 3000 # 超时时间
poolMinIdle: 8 #最小空闲数
poolConnTimeout: 3000 # 连接超时时间(毫秒)
poolSize: 10 # 连接池大小
single: #redis单机配置
address: 172.16.2.3:6379
address: 43.139.208.48
rabbitmq:
host: 172.16.2.1
host: 192.168.2.181
port: 5672
virtualHost: /
userName: guest
password: guest
zkConfig:
zkAddr: 172.16.2.1:2181
zkAddr: 192.168.2.181:2181
zkConnectTimeOut: 5000