36 行
972 B
YAML
36 行
972 B
YAML
|
|
server:
|
||
|
|
port: 8083
|
||
|
|
|
||
|
|
spring:
|
||
|
|
application:
|
||
|
|
name: push-service
|
||
|
|
datasource:
|
||
|
|
url: jdbc:mysql://localhost:3306/xuqm_push?useSSL=false&serverTimezone=UTC&createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true
|
||
|
|
username: root
|
||
|
|
password: root
|
||
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||
|
|
jpa:
|
||
|
|
hibernate:
|
||
|
|
ddl-auto: update
|
||
|
|
show-sql: false
|
||
|
|
|
||
|
|
jwt:
|
||
|
|
secret: xuqm-push-service-secret-key-must-be-at-least-256-bits-long-for-hmac-sha
|
||
|
|
expiration: 86400000
|
||
|
|
|
||
|
|
push:
|
||
|
|
huawei:
|
||
|
|
app-id: ${HUAWEI_APP_ID:}
|
||
|
|
app-secret: ${HUAWEI_APP_SECRET:}
|
||
|
|
token-url: https://oauth-login.cloud.huawei.com/oauth2/v3/token
|
||
|
|
push-url: https://push-api.cloud.huawei.com/v1/{appId}/messages:send
|
||
|
|
xiaomi:
|
||
|
|
app-secret: ${XIAOMI_APP_SECRET:}
|
||
|
|
push-url: https://api.xmpush.xiaomi.com/v3/message/regid
|
||
|
|
apns:
|
||
|
|
key-id: ${APNS_KEY_ID:}
|
||
|
|
team-id: ${APNS_TEAM_ID:}
|
||
|
|
key-path: ${APNS_KEY_PATH:}
|
||
|
|
bundle-id: ${APNS_BUNDLE_ID:}
|
||
|
|
production: false
|