|
|
@@ -56,13 +56,13 @@ spring:
|
|
|
# redis 配置
|
|
|
redis:
|
|
|
# 地址
|
|
|
- host: 39.105.100.218
|
|
|
+ host: 172.16.0.28
|
|
|
# 端口,默认为6379
|
|
|
port: 6380
|
|
|
# 数据库索引
|
|
|
database: 0
|
|
|
# 密码
|
|
|
- password: '$jgkj001'
|
|
|
+ password: 'railway1208'
|
|
|
# 连接超时时间
|
|
|
timeout: 100s
|
|
|
lettuce:
|
|
|
@@ -82,9 +82,9 @@ spring:
|
|
|
druid:
|
|
|
# 主库数据源
|
|
|
master:
|
|
|
- url: jdbc:mysql://39.105.100.218:3306/railway_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
+ url: jdbc:mysql://172.16.0.28:3306/railway_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
username: railway
|
|
|
- password: '$jgkj001'
|
|
|
+ password: 'railway1208'
|
|
|
# 从库数据源
|
|
|
slave:
|
|
|
# 从数据源开关/默认关闭
|