You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
# 数据源配置
|
|
|
|
|
|
spring:
|
|
|
|
|
|
datasource:
|
|
|
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
|
|
|
|
druid:
|
|
|
|
|
|
# 主库数据源
|
|
|
|
|
|
master:
|
|
|
|
|
|
url:
|
|
|
|
|
|
username:
|
|
|
|
|
|
password:
|
|
|
|
|
|
# 从库数据源
|
|
|
|
|
|
slave:
|
|
|
|
|
|
# 从数据源开关/默认关闭
|
|
|
|
|
|
enabled: false
|
|
|
|
|
|
url:
|
|
|
|
|
|
username:
|
|
|
|
|
|
password:
|
|
|
|
|
|
statViewServlet:
|
|
|
|
|
|
# 控制台管理用户名和密码
|
|
|
|
|
|
login-username: ruoyi
|
|
|
|
|
|
login-password: 123456
|
|
|
|
|
|
# redis 配置
|
|
|
|
|
|
redis:
|
|
|
|
|
|
# 地址
|
|
|
|
|
|
host:
|
|
|
|
|
|
# 端口,默认为6379
|
|
|
|
|
|
port:
|
|
|
|
|
|
# 数据库索引
|
|
|
|
|
|
database:
|
|
|
|
|
|
# 密码
|
|
|
|
|
|
password:
|
|
|
|
|
|
ruoyi:
|
|
|
|
|
|
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
|
|
|
|
|
profile: /data/profile/ruoyi-mall
|
|
|
|
|
|
scheduling:
|
|
|
|
|
|
enabled: false
|
|
|
|
|
|
server:
|
|
|
|
|
|
# 服务器的HTTP端口,默认为8080
|
|
|
|
|
|
port: 8999
|