|
@@ -20,15 +20,16 @@ spring:
|
|
|
#redis集群
|
|
|
redis:
|
|
|
#host: 127.0.0.1
|
|
|
- host: 124.70.18.168
|
|
|
+ host: 192.168.11.250
|
|
|
port: 6379
|
|
|
- password: gdnxfd123
|
|
|
+ timeout: 100000
|
|
|
# 集群环境打开下面注释,单机不需要打开
|
|
|
# cluster:
|
|
|
# #集群信息
|
|
|
# nodes: 10.83.68.151:6379,10.83.68.152:6379,10.83.68.153:6379,10.83.68.154:6379,10.83.68.155:6379,10.83.68.156:6379,10.83.68.157:6379,10.83.68.158:6379,10.83.68.159:6379
|
|
|
# #默认值是5 一般当此值设置过大时,容易报:Too many Cluster redirections
|
|
|
# maxRedirects: 3
|
|
|
+ password:
|
|
|
application:
|
|
|
name: test
|
|
|
jedis:
|
|
@@ -43,13 +44,13 @@ spring:
|
|
|
datasource:
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
driver-class-name: org.postgresql.Driver
|
|
|
-# url: jdbc:postgresql://192.168.11.248:5432/IMS_NEM_SD #IMS_NEM_SD
|
|
|
-# username: postgres
|
|
|
-# password: postgres
|
|
|
- #华为云测试地址
|
|
|
- url: jdbc:postgresql://124.70.75.91:5432/jn_test #IMS_NEM_SD
|
|
|
+ url: jdbc:postgresql://192.168.11.248:5432/IMS_NEM_SD #IMS_NEM_SD
|
|
|
username: postgres
|
|
|
- password: gd123
|
|
|
+ password: postgres
|
|
|
+ #华为云测试地址
|
|
|
+ # url: jdbc:postgresql://124.70.75.91:5432/jn_test #IMS_NEM_SD
|
|
|
+ # username: postgres
|
|
|
+ # password: gd123
|
|
|
|
|
|
oracle-schema=:
|
|
|
# type: com.alibaba.druid.pool.DruidDataSource
|