Files
open-im-server/config/openim-push.yml
T

46 lines
1.9 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-09-12 10:38:17 +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
# autoSetPorts indicates whether to automatically set the ports
autoSetPorts: true
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
# It will only take effect when autoSetPorts is set to false.
2024-09-12 10:38:17 +08:00
ports: [ 10170, 10171, 10172, 10173, 10174, 10175, 10176, 10177, 10178, 10179, 10180, 10181, 10182, 10183, 10184, 10185 ]
2024-04-19 22:23:08 +08:00
prometheus:
# Enable Prometheus metrics exposure for this service; set to true to allow scraping.
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
# It will only take effect when autoSetPorts is set to false.
2024-09-23 17:12:11 +08:00
ports: [ 12170, 12171, 12172, 12173, 12174, 12175, 12176, 12177, 12178, 12179, 12180, 12182, 12183, 12184, 12185, 12186 ]
2024-04-19 22:23:08 +08:00
maxConcurrentWorkers: 3
2024-11-18 16:25:46 +08:00
#Use geTui for offline push notifications, or choose fcm or jpush; corresponding configuration settings must be specified.
enable: geTui
2024-04-19 22:23:08 +08:00
geTui:
2024-08-21 15:10:43 +08:00
pushUrl: https://restapi.getui.com/v2/$appId
2024-11-14 14:35:18 +08:00
masterSecret:
appKey:
intent:
channelID:
channelName:
2024-04-19 22:23:08 +08:00
fcm:
2024-06-13 12:13:13 +08:00
# Prioritize using file paths. If the file path is empty, use URL
2024-11-14 14:35:18 +08:00
filePath: # File path is concatenated with the parameters passed in through - c(`mage` default pass in `config/`) and filePath.
2024-08-21 15:10:43 +08:00
authURL: # Must start with https or http.
2024-11-19 09:59:21 +08:00
jpush:
2024-11-14 14:35:18 +08:00
appKey:
masterSecret:
pushURL:
pushIntent:
2024-04-19 22:23:08 +08:00
2024-04-24 15:42:43 +08:00
# iOS system push sound and badge count
2024-04-19 22:23:08 +08:00
iosPush:
2024-11-14 14:35:18 +08:00
pushSound: xxx
badgeCount: true
production: false
2024-04-19 22:23:08 +08:00
2024-09-12 10:38:17 +08:00
fullUserCache: true