feat: optimize config

pull/2148/head
Xinwei Xiong (cubxxw) 2 years ago
parent aa1f576328
commit 916a4f510b

@ -1,13 +1,13 @@
object: object:
enable: "minio" enable: "minio"
apiURL: "http://240e:47e:3060:8cc:f664:1fee:9c86:9455:10002" apiURL: "http://127.0.0.1:10002"
minio: minio:
bucket: "openim" bucket: "openim"
endpoint: "http://172.28.0.1:10005" endpoint: "http://172.28.0.1:10005"
accessKeyID: "root" accessKeyID: "root"
secretAccessKey: "openIM123" secretAccessKey: "openIM123"
sessionToken: '' sessionToken: ''
signEndpoint: "http://240e:47e:3060:8cc:f664:1fee:9c86:9455:10005" signEndpoint: "http://127.0.0.1:10005"
publicRead: false publicRead: false
cos: cos:
bucketURL: https://temp-1252357374.cos.ap-chengdu.myqcloud.com bucketURL: https://temp-1252357374.cos.ap-chengdu.myqcloud.com

@ -1,3 +1,7 @@
api: api:
openImApiPort: [ 10002 ] openImApiPort: [ 10002 ]
listenIP: 0.0.0.0 listenIP: 0.0.0.0
prometheus:
enable: true
grafanaUrl: http://127.0.0.1:13000/
apiPrometheusPort: [20100]

@ -0,0 +1,6 @@
longConnSvr:
openImWsPort: [ 10001 ]
websocketMaxConnNum: 100000
openImMessageGatewayPort: [ 10140 ]
websocketMaxMsgLen: 4096
websocketTimeout: 10

@ -101,14 +101,14 @@ api:
# minio.signEndpoint is minio public network address # minio.signEndpoint is minio public network address
object: object:
enable: "minio" enable: "minio"
apiURL: "http://240e:47e:3060:8cc:f664:1fee:9c86:9455:10002" apiURL: "http://127.0.0.1:10002"
minio: minio:
bucket: "openim" bucket: "openim"
endpoint: "http://172.28.0.1:10005" endpoint: "http://172.28.0.1:10005"
accessKeyID: "root" accessKeyID: "root"
secretAccessKey: "openIM123" secretAccessKey: "openIM123"
sessionToken: '' sessionToken: ''
signEndpoint: "http://240e:47e:3060:8cc:f664:1fee:9c86:9455:10005" signEndpoint: "http://127.0.0.1:10005"
publicRead: false publicRead: false
cos: cos:
bucketURL: https://temp-1252357374.cos.ap-chengdu.myqcloud.com bucketURL: https://temp-1252357374.cos.ap-chengdu.myqcloud.com
@ -501,7 +501,7 @@ callback:
# The number of ports needs to be consistent with msg_transfer_service_num in script/path_info.sh # The number of ports needs to be consistent with msg_transfer_service_num in script/path_info.sh
prometheus: prometheus:
enable: true enable: true
grafanaUrl: http://240e:47e:3060:8cc:f664:1fee:9c86:9455:13000/ grafanaUrl: http://127.0.0.1:13000/
apiPrometheusPort: [20100] apiPrometheusPort: [20100]
userPrometheusPort: [ 20110 ] userPrometheusPort: [ 20110 ]
friendPrometheusPort: [ 20120 ] friendPrometheusPort: [ 20120 ]

@ -91,7 +91,7 @@ ALERT_MANAGER_NETWORK_ADDRESS=172.28.0.14
# ============================================================================== # ==============================================================================
# Local IP address of the service. Modify if necessary. # Local IP address of the service. Modify if necessary.
# Example: OPENIM_IP=172.28.0.1 # Example: OPENIM_IP=172.28.0.1
OPENIM_IP=240e:47e:3060:8cc:f664:1fee:9c86:9455 OPENIM_IP=127.0.0.1
# ----- ZooKeeper Configuration ----- # ----- ZooKeeper Configuration -----
# Port for ZooKeeper service. # Port for ZooKeeper service.

Loading…
Cancel
Save