|
|
@ -5,10 +5,10 @@
|
|
|
|
#---------------Infrastructure configuration---------------------#
|
|
|
|
#---------------Infrastructure configuration---------------------#
|
|
|
|
etcd:
|
|
|
|
etcd:
|
|
|
|
etcdSchema: openIM
|
|
|
|
etcdSchema: openIM
|
|
|
|
etcdAddr: [ 47.112.160.66:2379 ]
|
|
|
|
etcdAddr: [ 127.0.0.1:2379 ]
|
|
|
|
|
|
|
|
|
|
|
|
mysql:
|
|
|
|
mysql:
|
|
|
|
dbAddress: [ 47.112.160.66:3306 ]
|
|
|
|
dbAddress: [ 127.0.0.1:3306 ]
|
|
|
|
dbUserName: root
|
|
|
|
dbUserName: root
|
|
|
|
dbPassword: 123456
|
|
|
|
dbPassword: 123456
|
|
|
|
dbDatabaseName: openIM
|
|
|
|
dbDatabaseName: openIM
|
|
|
@ -19,7 +19,7 @@ mysql:
|
|
|
|
dbMaxLifeTime: 120
|
|
|
|
dbMaxLifeTime: 120
|
|
|
|
|
|
|
|
|
|
|
|
mongo:
|
|
|
|
mongo:
|
|
|
|
dbAddress: [ 47.112.160.66:27017 ]
|
|
|
|
dbAddress: [ 127.0.0.1:27017 ]
|
|
|
|
dbDirect: false
|
|
|
|
dbDirect: false
|
|
|
|
dbTimeout: 10
|
|
|
|
dbTimeout: 10
|
|
|
|
dbDatabase: [ openIM ]
|
|
|
|
dbDatabase: [ openIM ]
|
|
|
@ -30,7 +30,7 @@ mongo:
|
|
|
|
dbRetainChatRecords: 7
|
|
|
|
dbRetainChatRecords: 7
|
|
|
|
|
|
|
|
|
|
|
|
redis:
|
|
|
|
redis:
|
|
|
|
dbAddress: [47.112.160.66:6379]
|
|
|
|
dbAddress: [ 127.0.0.1:6379 ]
|
|
|
|
dbMaxIdle: 128
|
|
|
|
dbMaxIdle: 128
|
|
|
|
dbMaxActive: 0
|
|
|
|
dbMaxActive: 0
|
|
|
|
dbIdleTimeout: 120
|
|
|
|
dbIdleTimeout: 120
|
|
|
@ -38,10 +38,10 @@ redis:
|
|
|
|
|
|
|
|
|
|
|
|
kafka:
|
|
|
|
kafka:
|
|
|
|
ws2mschat:
|
|
|
|
ws2mschat:
|
|
|
|
addr: [ 47.112.160.66:9092 ]
|
|
|
|
addr: [ 127.0.0.1:9092 ]
|
|
|
|
topic: "ws2ms_chat"
|
|
|
|
topic: "ws2ms_chat"
|
|
|
|
ms2pschat:
|
|
|
|
ms2pschat:
|
|
|
|
addr: [ 47.112.160.66:9092 ]
|
|
|
|
addr: [ 127.0.0.1:9092 ]
|
|
|
|
topic: "ms2ps_chat"
|
|
|
|
topic: "ms2ps_chat"
|
|
|
|
consumergroupid:
|
|
|
|
consumergroupid:
|
|
|
|
msgToMongo: mongo
|
|
|
|
msgToMongo: mongo
|
|
|
|