增加配置文件模板
This commit is contained in:
parent
10c9436b6c
commit
064fd8bd5a
|
|
@ -0,0 +1,19 @@
|
||||||
|
# 项目配置
|
||||||
|
like:
|
||||||
|
upload-directory: /www/uploads/ # 上传目录
|
||||||
|
|
||||||
|
# 框架配置
|
||||||
|
spring:
|
||||||
|
# 数据源配置
|
||||||
|
datasource:
|
||||||
|
url: jdbc:mysql://localhost:3306/local_frame?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
|
||||||
|
type: com.zaxxer.hikari.HikariDataSource # 数据源类型
|
||||||
|
driver-class-name: com.mysql.jdbc.Driver # MySql的驱动
|
||||||
|
username: root # 数据库账号
|
||||||
|
password: root # 数据库密码
|
||||||
|
# Redis配置
|
||||||
|
redis:
|
||||||
|
host: localhost # Redis服务地址
|
||||||
|
port: 6379 # Redis端口
|
||||||
|
password: # Redis密码
|
||||||
|
database: 0 # 数据库索引
|
||||||
Loading…
Reference in New Issue