File tree Expand file tree Collapse file tree
entrance/src/main/resources Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ server :
2+ port : 8899
3+ spring :
4+ application :
5+ name : e-commerce-api
6+ config :
7+ import : optional:file:.env[.properties]
8+ datasource :
9+ driver-class-name : com.mysql.cj.jdbc.Driver
10+ url : ${DB_RUL}
11+ username : root
12+ password : 200309
13+
14+ mail :
15+ host : smtp.163.com
16+ port : 465
17+ username : ${EMAIL_USER}
18+ password : ${EMAIL_PASS}
19+ properties :
20+ mail :
21+ smtp :
22+ ssl :
23+ enable : true
24+
25+ data :
26+ # # redis配置
27+ redis :
28+ host : ${REDIS_HOST}
29+ port : ${REDIS_PORT}
30+ username :
31+ password : ${REDIS_PASS}
32+ timeout : 10000ms
33+ lettuce :
34+ pool :
35+ max-active : 8
36+ max-idle : 8
37+ min-idle : 0
38+ # # 上传文件配置
39+ servlet :
40+ multipart :
41+ max-file-size : 10MB
42+ max-request-size : 10MB
43+
44+ mybatis-plus :
45+ mapper-locations : classpath*:/mapper/**/*.xml
46+ configuration :
47+ log-impl : org.apache.ibatis.logging.stdout.StdOutImpl
48+ map-underscore-to-camel-case : true # 开启自动驼峰命名
49+
50+ # #文件配置
51+ file :
52+ image :
53+ base-path : ${user.dir}/resources\image # 用相对路径(相对于项目运行目录)
54+
55+ minio :
56+ endpoint : ${ENDPOINT}
57+ access-key : ${ACCESS_KEY}
58+ secret-key : ${SECRET_KEY}
59+ bucket-name : resources
You can’t perform that action at this time.
0 commit comments