This repository has been archived by the owner on Mar 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.properties
38 lines (38 loc) · 1.59 KB
/
application.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
##########################################################
#
# 服务器配置
#
##########################################################
server.port=8888
spring.application.name=sports-mall-server
spring.jpa.open-in-view=true
spring.freemarker.check-template-location=false
server.tomcat.min-spare-threads=50
server.tomcat.max-threads=500
##########################################################
#
# 数据库配置
#
##########################################################
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
spring.datasource.url=jdbc:mysql://localhost:3306/sports_mall?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&failOverReadOnly=false&connectTimeout=0&serverTimezone=Asia/Shanghai&useLegacyDatetimeCode=false&allowPublicKeyRetrieval=true
spring.datasource.username=root
spring.datasource.password=root
##########################################################
#
# 文件上传配置
#
##########################################################
spring.servlet.multipart.max-file-size=1024MB
spring.servlet.multipart.max-request-size=1024MB
##########################################################
#
# 日志配置
#
##########################################################
logging.level.com.sport.sportsmailserver=debug
# org.springframework.web.servlet.handler#detectHandlerMethods
logging.level.org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping=trace