@ -7,9 +7,9 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:p6spy:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
username: root
password: 123456
url: jdbc:p6spy:mysql://${address}:3306/${user}?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
username: ${user}
password: ${mypass}
# 从库数据源
slave:
# 从数据源开关/默认关闭
@ -59,13 +59,13 @@ spring:
# redis 配置
redis:
# 地址
host: localhost
host: ${address}
# 端口,默认为6379
port: 6379
port: 6388
# 数据库索引
database: 0
# 密码
password:
password: ${rdpwass}
# 连接超时时间
timeout: 10s
lettuce:
@ -3,3 +3,6 @@ ENV = 'production'
# 若依管理系统/生产环境
VUE_APP_BASE_API = '/prod-api'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true