|
|
@ -78,7 +78,7 @@ config:
|
|
|
|
# Log level: 1=slient, 2=error, 3=warn, 4=info
|
|
|
|
# Log level: 1=slient, 2=error, 3=warn, 4=info
|
|
|
|
# Slow query threshold in milliseconds
|
|
|
|
# Slow query threshold in milliseconds
|
|
|
|
mysql:
|
|
|
|
mysql:
|
|
|
|
address: [ 172.28.0.1:13306 ]
|
|
|
|
address: [ im-mysql:3306 ]
|
|
|
|
username: root
|
|
|
|
username: root
|
|
|
|
password: openIM123
|
|
|
|
password: openIM123
|
|
|
|
database: openIM_v3
|
|
|
|
database: openIM_v3
|
|
|
@ -97,7 +97,7 @@ config:
|
|
|
|
# Maximum connection pool size
|
|
|
|
# Maximum connection pool size
|
|
|
|
mongo:
|
|
|
|
mongo:
|
|
|
|
uri: ''
|
|
|
|
uri: ''
|
|
|
|
address: [ 172.28.0.1:37017 ]
|
|
|
|
address: [ im-mongodb:27017 ]
|
|
|
|
database: openIM_v3
|
|
|
|
database: openIM_v3
|
|
|
|
username: root
|
|
|
|
username: root
|
|
|
|
password: openIM123
|
|
|
|
password: openIM123
|
|
|
@ -108,7 +108,7 @@ config:
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Username is required only for Redis version 6.0+
|
|
|
|
# Username is required only for Redis version 6.0+
|
|
|
|
redis:
|
|
|
|
redis:
|
|
|
|
address: [ 172.28.0.1:16379 ]
|
|
|
|
address: [ im-redis-master:6379 ]
|
|
|
|
username: ''
|
|
|
|
username: ''
|
|
|
|
password: openIM123
|
|
|
|
password: openIM123
|
|
|
|
|
|
|
|
|
|
|
@ -122,7 +122,7 @@ config:
|
|
|
|
kafka:
|
|
|
|
kafka:
|
|
|
|
username: ''
|
|
|
|
username: ''
|
|
|
|
password: ''
|
|
|
|
password: ''
|
|
|
|
addr: [ 172.28.0.1:19094 ]
|
|
|
|
addr: [ im-kafka:9092 ]
|
|
|
|
latestMsgToRedis:
|
|
|
|
latestMsgToRedis:
|
|
|
|
topic: "latestMsgToRedis"
|
|
|
|
topic: "latestMsgToRedis"
|
|
|
|
offlineMsgToMongo:
|
|
|
|
offlineMsgToMongo:
|
|
|
@ -150,7 +150,7 @@ config:
|
|
|
|
# API service port
|
|
|
|
# API service port
|
|
|
|
# Default listen IP is 0.0.0.0
|
|
|
|
# Default listen IP is 0.0.0.0
|
|
|
|
api:
|
|
|
|
api:
|
|
|
|
openImApiPort: [ 10002 ]
|
|
|
|
openImApiPort: [ 80 ]
|
|
|
|
listenIP: 0.0.0.0
|
|
|
|
listenIP: 0.0.0.0
|
|
|
|
|
|
|
|
|
|
|
|
###################### Object configuration information ######################
|
|
|
|
###################### Object configuration information ######################
|
|
|
@ -168,14 +168,14 @@ config:
|
|
|
|
# minio.signEndpoint is minio public network address
|
|
|
|
# minio.signEndpoint is minio public network address
|
|
|
|
object:
|
|
|
|
object:
|
|
|
|
enable: "minio"
|
|
|
|
enable: "minio"
|
|
|
|
apiURL: "http://http://127.0.0.1:10002"
|
|
|
|
apiURL: "http://http://im-minio:9001"
|
|
|
|
minio:
|
|
|
|
minio:
|
|
|
|
bucket: "openim"
|
|
|
|
bucket: "openim"
|
|
|
|
endpoint: "http://172.28.0.1:10005"
|
|
|
|
endpoint: "http://im-minio:9000"
|
|
|
|
accessKeyID: "root"
|
|
|
|
accessKeyID: "root"
|
|
|
|
secretAccessKey: "openIM123"
|
|
|
|
secretAccessKey: "openIM123"
|
|
|
|
sessionToken: ''
|
|
|
|
sessionToken: ''
|
|
|
|
signEndpoint: "http://127.0.0.1:10005"
|
|
|
|
signEndpoint: "http://im-minio:9000"
|
|
|
|
cos:
|
|
|
|
cos:
|
|
|
|
bucketURL: https://temp-1252357374.cos.ap-chengdu.myqcloud.com
|
|
|
|
bucketURL: https://temp-1252357374.cos.ap-chengdu.myqcloud.com
|
|
|
|
secretID: ''
|
|
|
|
secretID: ''
|
|
|
|