mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 03:42:08 +08:00
Add comments to the configuration file
This commit is contained in:
parent
ccb86ae33b
commit
ebf4aeea8d
@ -1,19 +1,30 @@
|
|||||||
rpc:
|
rpc:
|
||||||
|
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
|
||||||
registerIP: ''
|
registerIP: ''
|
||||||
|
# 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: [ 10140 ]
|
ports: [ 10140 ]
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
|
# Enable or disable Prometheus monitoring
|
||||||
enable: true
|
enable: true
|
||||||
|
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
|
||||||
ports: [ 20112 ]
|
ports: [ 20112 ]
|
||||||
|
|
||||||
|
# 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
|
listenIP: 0.0.0.0
|
||||||
|
|
||||||
longConnSvr:
|
longConnSvr:
|
||||||
|
# WebSocket listening ports, must match the number of rpc.ports
|
||||||
ports: [ 10001 ]
|
ports: [ 10001 ]
|
||||||
|
# Maximum number of WebSocket connections
|
||||||
websocketMaxConnNum: 100000
|
websocketMaxConnNum: 100000
|
||||||
|
# Maximum length of the entire WebSocket message packet
|
||||||
websocketMaxMsgLen: 4096
|
websocketMaxMsgLen: 4096
|
||||||
|
# WebSocket connection handshake timeout in seconds
|
||||||
websocketTimeout: 10
|
websocketTimeout: 10
|
||||||
|
|
||||||
|
# 1: For Android, iOS, Windows, Mac, and web platforms, only one instance can be online at a time
|
||||||
multiLoginPolicy: 1
|
multiLoginPolicy: 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,6 @@
|
|||||||
prometheus:
|
prometheus:
|
||||||
|
# Enable or disable Prometheus monitoring
|
||||||
enable: true
|
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: [ 20108, 20109, 20110, 20111 ]
|
ports: [ 20108, 20109, 20110, 20111 ]
|
||||||
|
|||||||
@ -1,10 +1,15 @@
|
|||||||
rpc:
|
rpc:
|
||||||
|
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
|
||||||
registerIP: ''
|
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
|
listenIP: 0.0.0.0
|
||||||
|
# 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: [ 10170 ]
|
ports: [ 10170 ]
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
|
# Enable or disable Prometheus monitoring
|
||||||
enable: true
|
enable: true
|
||||||
|
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
|
||||||
ports: [ 20107 ]
|
ports: [ 20107 ]
|
||||||
|
|
||||||
maxConcurrentWorkers: 3
|
maxConcurrentWorkers: 3
|
||||||
|
|||||||
@ -1,10 +1,15 @@
|
|||||||
rpc:
|
rpc:
|
||||||
|
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
|
||||||
registerIP: ''
|
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
|
listenIP: 0.0.0.0
|
||||||
|
# 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: [ 10160 ]
|
ports: [ 10160 ]
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
|
# Enable or disable Prometheus monitoring
|
||||||
enable: true
|
enable: true
|
||||||
|
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
|
||||||
ports: [ 20106 ]
|
ports: [ 20106 ]
|
||||||
|
|
||||||
tokenPolicy:
|
tokenPolicy:
|
||||||
|
|||||||
@ -1,11 +1,13 @@
|
|||||||
rpc:
|
rpc:
|
||||||
|
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
|
||||||
registerIP: ''
|
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
|
listenIP: 0.0.0.0
|
||||||
|
# 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: [ 10180 ]
|
ports: [ 10180 ]
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
|
# Enable or disable Prometheus monitoring
|
||||||
enable: true
|
enable: true
|
||||||
|
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
|
||||||
ports: [ 20105 ]
|
ports: [ 20105 ]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,8 +1,13 @@
|
|||||||
rpc:
|
rpc:
|
||||||
|
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
|
||||||
registerIP: ''
|
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
|
listenIP: 0.0.0.0
|
||||||
|
# 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: [ 10120 ]
|
ports: [ 10120 ]
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
|
# Enable or disable Prometheus monitoring
|
||||||
enable: true
|
enable: true
|
||||||
|
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
|
||||||
ports: [ 20104 ]
|
ports: [ 20104 ]
|
||||||
|
|||||||
@ -1,9 +1,13 @@
|
|||||||
rpc:
|
rpc:
|
||||||
|
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
|
||||||
registerIP: ''
|
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
|
listenIP: 0.0.0.0
|
||||||
|
# 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: [ 10150 ]
|
ports: [ 10150 ]
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
|
# Enable or disable Prometheus monitoring
|
||||||
enable: true
|
enable: true
|
||||||
|
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
|
||||||
ports: [ 20103 ]
|
ports: [ 20103 ]
|
||||||
|
|
||||||
|
|||||||
@ -1,12 +1,18 @@
|
|||||||
rpc:
|
rpc:
|
||||||
|
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
|
||||||
registerIP: ''
|
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
|
listenIP: 0.0.0.0
|
||||||
|
# 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: [ 10130 ]
|
ports: [ 10130 ]
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
|
# Enable or disable Prometheus monitoring
|
||||||
enable: true
|
enable: true
|
||||||
|
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
|
||||||
ports: [ 20102 ]
|
ports: [ 20102 ]
|
||||||
|
|
||||||
|
|
||||||
# Does sending messages require friend verification
|
# Does sending messages require friend verification
|
||||||
friendVerify: false
|
friendVerify: false
|
||||||
|
|
||||||
|
|||||||
@ -1,12 +1,18 @@
|
|||||||
rpc:
|
rpc:
|
||||||
|
# The IP address where this RPC service registers itself; if left blank, it defaults to the internal network IP
|
||||||
registerIP: ''
|
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
|
listenIP: 0.0.0.0
|
||||||
|
# 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: [ 10190 ]
|
ports: [ 10190 ]
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
|
# Enable or disable Prometheus monitoring
|
||||||
enable: true
|
enable: true
|
||||||
|
# List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup
|
||||||
ports: [ 20101 ]
|
ports: [ 20101 ]
|
||||||
|
|
||||||
|
|
||||||
object:
|
object:
|
||||||
enable: "minio"
|
enable: "minio"
|
||||||
cos:
|
cos:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user