fix: 生产环境,配置文件修改。
This commit is contained in:
@@ -34,16 +34,16 @@ spring:
|
|||||||
# url: jdbc:mysql://36.139.89.250:13306/work?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=CONVERT_TO_NULL&transformedBitIsBoolean=true&useSSL=false&serverTimezone=Asia/Shanghai
|
# url: jdbc:mysql://36.139.89.250:13306/work?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=CONVERT_TO_NULL&transformedBitIsBoolean=true&useSSL=false&serverTimezone=Asia/Shanghai
|
||||||
# username: zhangsan
|
# username: zhangsan
|
||||||
# password: '%qLUNmRr!4'
|
# password: '%qLUNmRr!4'
|
||||||
url: jdbc:mysql://81.70.89.108:33306/fishery_dms?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=CONVERT_TO_NULL&transformedBitIsBoolean=true&useSSL=false&serverTimezone=Asia/Shanghai
|
url: jdbc:mysql://172.16.42.181:33306/fishery_dms_prod?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=CONVERT_TO_NULL&transformedBitIsBoolean=true&useSSL=false&serverTimezone=Asia/Shanghai
|
||||||
username: root
|
username: root
|
||||||
password: Intc@123
|
password: mT#SgaJNXQWSw2dt
|
||||||
# 测试数据源
|
# 测试数据源
|
||||||
# 使用方法,在 Mapper 类或者方法上增加注解 @DS("test") 用于切换数据源
|
# 使用方法,在 Mapper 类或者方法上增加注解 @DS("test") 用于切换数据源
|
||||||
test:
|
test:
|
||||||
driverClassName: org.postgresql.Driver
|
driverClassName: org.postgresql.Driver
|
||||||
url: jdbc:postgresql://81.70.89.108:15432/fishery_dev?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
|
url: jdbc:postgresql://72.16.42.181:15432/fishery_prod?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
|
||||||
username: postgres
|
username: postgres
|
||||||
password: intc@123987
|
password: htYkSuRn7Gb*pbFn
|
||||||
# 从库数据源 - TDengine
|
# 从库数据源 - TDengine
|
||||||
taos:
|
taos:
|
||||||
lazy: false
|
lazy: false
|
||||||
@@ -51,7 +51,7 @@ spring:
|
|||||||
type: com.zaxxer.hikari.HikariDataSource
|
type: com.zaxxer.hikari.HikariDataSource
|
||||||
driverClassName: com.taosdata.jdbc.rs.RestfulDriver
|
driverClassName: com.taosdata.jdbc.rs.RestfulDriver
|
||||||
# 不指定数据库名,在 SQL 中使用完整路径 fishery.table_name
|
# 不指定数据库名,在 SQL 中使用完整路径 fishery.table_name
|
||||||
url: jdbc:TAOS-RS://81.70.89.108:6041?timezone=Shanghai&charset=UTF-8&locale=en_US.UTF-8
|
url: jdbc:TAOS-RS://172.16.42.181:6041?timezone=Shanghai&charset=UTF-8&locale=en_US.UTF-8
|
||||||
username: root
|
username: root
|
||||||
password: intc@123456
|
password: intc@123456
|
||||||
hikari:
|
hikari:
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ spring:
|
|||||||
# redis 配置
|
# redis 配置
|
||||||
redis:
|
redis:
|
||||||
# 地址
|
# 地址
|
||||||
host: 82.157.37.106
|
host: 172.16.42.181
|
||||||
# 端口,默认为6379
|
# 端口,默认为6379
|
||||||
port: 26379
|
port: 26379
|
||||||
# 数据库索引
|
# 数据库索引
|
||||||
|
|||||||
Reference in New Issue
Block a user