mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-10-31 16:32:12 +08:00 
			
		
		
		
	* build: implement services image build. * remove unused tools * update test. * update images. * update dockerfile and go mod. * update go mod. * Add comments. * update go pkg. * update loadConfig and discovery logic in kubernetes. * update go pkg and discovery field. * update Load method args.
		
			
				
	
	
		
			28 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| rpc:
 | |
|   # 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: true
 | |
|   # 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, 10141, 10142, 10143, 10144, 10145, 10146, 10147, 10148, 10149, 10150, 10151, 10152, 10153, 10154, 10155 ]
 | |
| 
 | |
| 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, 12141, 12142, 12143, 12144, 12145, 12146, 12147, 12148, 12149, 12150, 12151, 12152, 12153, 12154, 12155 ]
 | |
| 
 | |
| # 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
 |