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

47 lines
1.4 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-08-21 15:10:43 +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
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
2024-04-19 22:23:08 +08:00
ports: [ 10170 ]
prometheus:
2024-04-24 15:42:43 +08:00
# Enable or disable Prometheus monitoring
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
2024-04-19 22:23:08 +08:00
ports: [ 20107 ]
maxConcurrentWorkers: 3
2024-08-21 15:10:43 +08:00
#Use geTui for offline push notifications, or choose fcm or jpns; 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
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-08-21 15:10:43 +08:00
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.
2024-04-19 22:23:08 +08:00
jpns:
2024-08-21 15:10:43 +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-08-21 15:10:43 +08:00
pushSound: xxx
2024-04-19 22:23:08 +08:00
badgeCount: true
production: false