重构云文件管理系统
This commit is contained in:
46
target/classes/application.yml
Normal file
46
target/classes/application.yml
Normal file
@@ -0,0 +1,46 @@
|
||||
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
|
||||
Reference in New Issue
Block a user