47 lines
1.0 KiB
YAML
47 lines
1.0 KiB
YAML
server:
|
|
port: 18089
|
|
|
|
spring:
|
|
datasource:
|
|
url: jdbc:mysql://192.168.31.182:13306/system?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&createDatabaseIfNotExist=true
|
|
username: dream
|
|
password: info_dream
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
data:
|
|
redis:
|
|
host: 192.168.31.194
|
|
port: 16379
|
|
database: 0
|
|
timeout: 10000ms
|
|
password: admin
|
|
|
|
servlet:
|
|
multipart:
|
|
enabled: true
|
|
max-file-size: 1024MB
|
|
max-request-size: 2048MB
|
|
file-size-threshold: 0
|
|
|
|
mybatis-plus:
|
|
mapper-locations: classpath*:/mapper/**/*.xml
|
|
type-aliases-package: com.filesystem.entity
|
|
configuration:
|
|
map-underscore-to-camel-case: true
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
global-config:
|
|
db-config:
|
|
id-type: auto
|
|
|
|
file:
|
|
storage:
|
|
path: /ogsapp/uploads
|
|
|
|
jwt:
|
|
secret: mySecretKeyForJWTTokenGenerationThatIsLongEnough256BitsForHS256Algorithm
|
|
expiration: 86400000
|
|
|
|
logging:
|
|
level:
|
|
com.filesystem: DEBUG
|