first commit
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
spring:
|
||||
application:
|
||||
name: metaloop
|
||||
datasource:
|
||||
url: jdbc:mysql://localhost:3306/metalloop?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true
|
||||
username: root
|
||||
password: 123456
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
hikari:
|
||||
maximum-pool-size: 20
|
||||
minimum-idle: 5
|
||||
connection-timeout: 30000
|
||||
|
||||
jackson:
|
||||
date-format: yyyy-MM-dd HH:mm:ss
|
||||
time-zone: Asia/Shanghai
|
||||
serialization:
|
||||
write-dates-as-timestamps: false
|
||||
data:
|
||||
redis:
|
||||
host: localhost
|
||||
port: 6379
|
||||
database: 0
|
||||
password:
|
||||
timeout: 5000ms
|
||||
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
# API文档
|
||||
springdoc:
|
||||
api-docs:
|
||||
enabled: true
|
||||
path: /v3/api-docs
|
||||
swagger-ui:
|
||||
path: /swagger-ui.html
|
||||
tags-sorter: alpha
|
||||
operations-sorter: method
|
||||
show-actuator: true
|
||||
packages-to-scan: com.metalloop.modules
|
||||
paths-to-match: /api/**
|
||||
|
||||
# Sa-Token 配置
|
||||
sa-token:
|
||||
token-name: metalloop-token
|
||||
timeout: 86400
|
||||
active-timeout: -1
|
||||
is-concurrent: true
|
||||
is-share: false
|
||||
token-style: uuid
|
||||
is-log: false
|
||||
jwt-secret-key: metalloop-secret-key
|
||||
Reference in New Issue
Block a user