# Authentication source for database authentication, if use root user, set it to admin
authSource:openim_v3
# Maximum number of connections in the connection pool
maxPoolSize:100
# Maximum number of retry attempts for a failed database connection
maxRetry:10
local-cache.yml:|
user:
topic:DELETE_CACHE_USER
slotNum:100
slotSize:2000
successExpire:300
failedExpire:5
group:
topic:DELETE_CACHE_GROUP
slotNum:100
slotSize:2000
successExpire:300
failedExpire:5
friend:
topic:DELETE_CACHE_FRIEND
slotNum:100
slotSize:2000
successExpire:300
failedExpire:5
conversation:
topic:DELETE_CACHE_CONVERSATION
slotNum:100
slotSize:2000
successExpire:300
failedExpire:5
openim-api.yml:|
api:
# Listening IP; 0.0.0.0 means both internal and external IPs are listened to, default is recommended
listenIP:0.0.0.0
# Listening ports; if multiple are configured, multiple instances will be launched, must be consistent with the number of prometheus.ports
ports:[10002]
# API compression level; 0: default compression, 1: best compression, 2: best speed, -1: no compression
compressionLevel:0
prometheus:
# Whether to enable prometheus
enable:true
# Prometheus listening ports, must match the number of api.ports
ports:[12002]
# This address can be accessed via a browser
grafanaURL:http://127.0.0.1:13000/
openim-rpc-user.yml:|
rpc:
# API or other RPCs can access this RPC through this IP; if left blank, the internal network IP is obtained by default
registerIP:
# Listening IP; 0.0.0.0 means both internal and external IPs are listened to, if blank, the internal network IP is automatically obtained by default
listenIP:0.0.0.0
# autoSetPorts indicates whether to automatically set the ports
# if you use in kubernetes, set it to false
autoSetPorts:false
# 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
# It will only take effect when autoSetPorts is set to false.
ports:[10320]
prometheus:
# Whether to enable prometheus
enable:true
# Prometheus listening ports, must be consistent with the number of rpc.ports
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
registerIP:
# autoSetPorts indicates whether to automatically set the ports
# if you use in kubernetes, set it to false
autoSetPorts:false
# 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
# It will only take effect when autoSetPorts is set to false.
ports:[10140]
prometheus:
# Enable or disable Prometheus monitoring
enable:true
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
ports:[12140]
# IP address that the RPC/WebSocket 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
listenIP:0.0.0.0
longConnSvr:
# WebSocket listening ports, must match the number of rpc.ports
ports:[10001]
# Maximum number of WebSocket connections
websocketMaxConnNum:100000
# Maximum length of the entire WebSocket message packet
websocketMaxMsgLen:4096
# WebSocket connection handshake timeout in seconds
websocketTimeout:10
openim-msgtransfer.yml:|
prometheus:
# Enable or disable Prometheus monitoring
enable:true
# List of ports that Prometheus listens on; each port corresponds to an instance of monitoring. Ensure these are managed accordingly
# Because four instances have been launched, four ports need to be specified
ports:[12020]
openim-push.yml:|
rpc:
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
registerIP:
# 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
listenIP:0.0.0.0
# autoSetPorts indicates whether to automatically set the ports
# if you use in kubernetes, set it to false
autoSetPorts:false
# 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
# It will only take effect when autoSetPorts is set to false.
ports:[10170]
prometheus:
# Enable or disable Prometheus monitoring
enable:true
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
ports:[12170]
maxConcurrentWorkers:3
#Use geTui for offline push notifications, or choose fcm or jpns; corresponding configuration settings must be specified.
enable:
geTui:
pushUrl:https://restapi.getui.com/v2/$appId
masterSecret:
appKey:
intent:
channelID:
channelName:
fcm:
# Prioritize using file paths. If the file path is empty, use URL
filePath:# File path is concatenated with the parameters passed in through - c(`mage` default pass in `config/`) and filePath.
authURL:# Must start with https or http.
jpush:
appKey:
masterSecret:
pushURL:
pushIntent:
# iOS system push sound and badge count
iosPush:
pushSound:xxx
badgeCount:true
production:false
fullUserCache:true
openim-rpc-auth.yml:|
rpc:
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
registerIP:
# 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
listenIP:0.0.0.0
# autoSetPorts indicates whether to automatically set the ports
# if you use in kubernetes, set it to false
autoSetPorts:false
# 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
# It will only take effect when autoSetPorts is set to false.
ports:[10200]
prometheus:
# Enable or disable Prometheus monitoring
enable:true
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
ports:[12200]
tokenPolicy:
# Token validity period, in days
expire:90
openim-rpc-conversation.yml:|
rpc:
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
registerIP:
# 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
listenIP:0.0.0.0
# autoSetPorts indicates whether to automatically set the ports
# if you use in kubernetes, set it to false
autoSetPorts:false
# 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
# It will only take effect when autoSetPorts is set to false.
ports:[10220]
prometheus:
# Enable or disable Prometheus monitoring
enable:true
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
ports:[12200]
tokenPolicy:
# Token validity period, in days
expire:90
openim-rpc-friend.yml:|
rpc:
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
registerIP:
# 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
listenIP:0.0.0.0
# autoSetPorts indicates whether to automatically set the ports
# if you use in kubernetes, set it to false
autoSetPorts:false
# 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
# It will only take effect when autoSetPorts is set to false.
ports:[10240]
prometheus:
# Enable or disable Prometheus monitoring
enable:true
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
ports:[12240]
openim-rpc-group.yml:|
rpc:
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
registerIP:
# 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
listenIP:0.0.0.0
# autoSetPorts indicates whether to automatically set the ports
# if you use in kubernetes, set it to false
autoSetPorts:false
# 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
# It will only take effect when autoSetPorts is set to false.
ports:[10260]
prometheus:
# Enable or disable Prometheus monitoring
enable:true
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
ports:[12260]
enableHistoryForNewMembers:true
openim-rpc-msg.yml:|
rpc:
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
registerIP:
# 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
listenIP:0.0.0.0
# autoSetPorts indicates whether to automatically set the ports
# if you use in kubernetes, set it to false
autoSetPorts:false
# 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
ports:[10280]
prometheus:
# Enable or disable Prometheus monitoring
enable:true
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
ports:[12280]
# Does sending messages require friend verification
friendVerify:false
openim-rpc-third.yml:|
rpc:
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
registerIP:
# 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
listenIP:0.0.0.0
# autoSetPorts indicates whether to automatically set the ports
# if you use in kubernetes, set it to false
autoSetPorts:false
# 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
# It will only take effect when autoSetPorts is set to false.
ports:[10300]
prometheus:
# Enable or disable Prometheus monitoring
enable:true
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
ports:[12300]
object:
# Use MinIO as object storage, or set to "cos", "oss", "kodo", "aws", while also configuring the corresponding settings