测试环境
This commit is contained in:
parent
7e106b5b7d
commit
4c76be44ab
|
|
@ -6,9 +6,12 @@ spring:
|
|||
druid:
|
||||
# 主库数据源
|
||||
master:
|
||||
url: jdbc:mysql://192.168.0.7:13308/bonus_cloud_service?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
url: jdbc:mysql://192.168.0.14:4417/bonus_cloud_service?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: Bonus@admin123!
|
||||
# url: jdbc:mysql://192.168.0.7:13308/bonus_cloud_service?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
# username: root
|
||||
# password: Bonus@admin123!
|
||||
# 从库数据源
|
||||
slave:
|
||||
# 从数据源开关/默认关闭
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ server:
|
|||
port: 58080
|
||||
servlet:
|
||||
# 应用的访问路径
|
||||
context-path: /
|
||||
context-path: /bnscloud
|
||||
tomcat:
|
||||
# tomcat的URI编码
|
||||
uri-encoding: UTF-8
|
||||
|
|
@ -69,14 +69,17 @@ spring:
|
|||
enabled: true
|
||||
# redis 配置
|
||||
redis:
|
||||
host: 192.168.0.14
|
||||
port: 2003
|
||||
password: Fyzbns@Redis123!
|
||||
# 地址
|
||||
host: 192.168.0.7
|
||||
# host: 192.168.0.7
|
||||
# 端口,默认为6379
|
||||
port: 16379
|
||||
# port: 16379
|
||||
# 数据库索引
|
||||
database: 5
|
||||
# 密码
|
||||
password: Bonus@admin123!
|
||||
# password: Bonus@admin123!
|
||||
# 连接超时时间
|
||||
timeout: 10s
|
||||
lettuce:
|
||||
|
|
|
|||
Loading…
Reference in New Issue