mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-10-31 08:29:33 +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.
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| 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: 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: [ 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
 | |
|   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: 
 | |
|     publicRead: false
 | |
|   kodo:
 | |
|     endpoint: http://s3.cn-south-1.qiniucs.com
 | |
|     bucket: kodo-bucket-test
 | |
|     bucketURL: http://kodo-bucket-test-oetobfb.qiniudns.com
 | |
|     accessKeyID: 
 | |
|     accessKeySecret: 
 | |
|     sessionToken: 
 | |
|     publicRead: false
 |