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

42 lines
1.6 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-05 17:34:38 +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-09-07 15:27:55 +08:00
ports: [ 6050, 6051, 6052, 6053, 6054, 6055, 6056, 6057, 6058, 6059, 6060, 6061, 6062, 6063, 6064, 6065 ]
2024-04-19 22:23:08 +08:00
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-09-07 15:27:55 +08:00
ports: [ 8050, 8051, 8052, 8053, 8054, 8055, 8056, 8057, 8058, 8059, 8060, 8061, 8062, 8063, 8064, 8065 ]
2024-04-19 22:23:08 +08:00
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
2024-09-05 17:22:05 +08:00
fullUserCache: true