mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-06-20 17:16:09 +08:00
增加配置文件模板
This commit is contained in:
@@ -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 # 数据库索引
|
||||
Reference in New Issue
Block a user