Files
open-im-server/config/openim-rpc-third.yml
T

32 lines
1.2 KiB
YAML
Raw Normal View History

2024-04-19 22:23:08 +08:00
rpc:
2024-04-24 15:42:43 +08:00
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
2024-04-19 22:23:08 +08:00
registerIP: ''
2024-04-24 15:42:43 +08:00
# IP address that the RPC service listens on; setting to 0.0.0.0 listens on both internal and external IPs. If left blank, it automatically uses the internal network IP
2024-04-19 22:23:08 +08:00
listenIP: 0.0.0.0
2024-04-24 15:42:43 +08:00
# List of ports that the RPC service listens on; configuring multiple ports will launch multiple instances. These must match the number of configured prometheus ports
2024-04-19 22:23:08 +08:00
ports: [ 10190 ]
prometheus:
2024-04-24 15:42:43 +08:00
# Enable or disable Prometheus monitoring
2024-04-19 22:23:08 +08:00
enable: true
2024-04-24 15:42:43 +08:00
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
2024-04-19 22:23:08 +08:00
ports: [ 20101 ]
2024-04-24 15:42:43 +08:00
2024-04-19 22:23:08 +08:00
object:
2024-04-24 15:42:43 +08:00
# Use MinIO as object storage, or set to "cos", "oss", "kodo", "aws", while also configuring the corresponding settings
2024-04-19 22:23:08 +08:00
enable: "minio"
cos:
bucketURL: https://temp-1252357374.cos.ap-chengdu.myqcloud.com
secretID: ''
secretKey: ''
sessionToken: ''
publicRead: false
oss:
endpoint: "https://oss-cn-chengdu.aliyuncs.com"
bucket: "demo-9999999"
bucketURL: "https://demo-9999999.oss-cn-chengdu.aliyuncs.com"
accessKeyID: ''
accessKeySecret: ''
sessionToken: ''
2024-05-15 11:43:20 +08:00
publicRead: false