@ -1,7 +1,3 @@
---
server:
port: 8081
# 数据源配置
spring:
datasource:
@ -10,9 +6,9 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://39.101.143.184:3306/ruoyi-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
username: ruoyi-vue
username: root
password: ryvue
password: root
# 从库数据源
slave:
# 从数据源开关/默认关闭
@ -62,13 +58,13 @@ spring:
# redis 配置
redis:
# 地址
host: 39.101.143.184
host: localhost
# 端口,默认为6379
port: 6379
# 数据库索引
database: 0
# 密码
password:
# 连接超时时间
timeout: 10s
lettuce: