|
|
|
@ -8,7 +8,7 @@ etcd:
|
|
|
|
|
etcdAddr: [ 127.0.0.1:2379 ] #单机部署时,默认即可
|
|
|
|
|
|
|
|
|
|
mysql:
|
|
|
|
|
dbMysqlAddress: [ 43.128.5.63:13306 ] #mysql地址 目前仅支持单机,默认即可
|
|
|
|
|
dbMysqlAddress: [ 127.0.0.1:13306 ] #mysql地址 目前仅支持单机,默认即可
|
|
|
|
|
dbMysqlUserName: root #mysql用户名,建议修改
|
|
|
|
|
dbMysqlPassword: openIM # mysql密码,建议修改
|
|
|
|
|
dbMysqlDatabaseName: openIM_v2 #默认即可
|
|
|
|
@ -19,7 +19,7 @@ mysql:
|
|
|
|
|
dbMaxLifeTime: 120
|
|
|
|
|
|
|
|
|
|
mongo:
|
|
|
|
|
dbAddress: [ 43.128.5.63:37017 ] #redis地址 目前仅支持单机,默认即可
|
|
|
|
|
dbAddress: [ 127.0.0.1:37017 ] #redis地址 目前仅支持单机,默认即可
|
|
|
|
|
dbDirect: false
|
|
|
|
|
dbTimeout: 10
|
|
|
|
|
dbDatabase: openIM #mongo db 默认即可
|
|
|
|
@ -30,7 +30,7 @@ mongo:
|
|
|
|
|
dbRetainChatRecords: 3650 #mongo保存离线消息时间(天),根据需求修改
|
|
|
|
|
|
|
|
|
|
redis:
|
|
|
|
|
dbAddress: 43.128.5.63:16379 #redis地址 目前仅支持单机,默认即可
|
|
|
|
|
dbAddress: 127.0.0.1:16379 #redis地址 目前仅支持单机,默认即可
|
|
|
|
|
dbMaxIdle: 128
|
|
|
|
|
dbMaxActive: 0
|
|
|
|
|
dbIdleTimeout: 120
|
|
|
|
|