28 行
682 B
YAML
28 行
682 B
YAML
|
|
server:
|
||
|
|
port: 8084
|
||
|
|
|
||
|
|
spring:
|
||
|
|
application:
|
||
|
|
name: update-service
|
||
|
|
datasource:
|
||
|
|
url: jdbc:mysql://localhost:3306/xuqm_update?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
|
||
|
|
servlet:
|
||
|
|
multipart:
|
||
|
|
max-file-size: 200MB
|
||
|
|
max-request-size: 200MB
|
||
|
|
|
||
|
|
jwt:
|
||
|
|
secret: xuqm-update-service-secret-key-must-be-at-least-256-bits-long-for-hmac
|
||
|
|
expiration: 86400000
|
||
|
|
|
||
|
|
update:
|
||
|
|
upload-dir: ${UPDATE_UPLOAD_DIR:/tmp/xuqm-update}
|
||
|
|
base-url: ${UPDATE_BASE_URL:http://localhost:8084}
|