|
|
@@ -7,7 +7,7 @@ server:
|
|
7
|
7
|
eureka:
|
|
8
|
8
|
client:
|
|
9
|
9
|
service-url:
|
|
10
|
|
- defaultZone: http://eureka-depot-yn:9001/eureka/
|
|
|
10
|
+ defaultZone: http://172.16.0.46:9511/eureka/
|
|
11
|
11
|
instance:
|
|
12
|
12
|
prefer-ip-address: true
|
|
13
|
13
|
# 每隔10s发送一次心跳(默认30s)
|
|
|
@@ -21,17 +21,17 @@ spring:
|
|
21
|
21
|
# 数据库配置
|
|
22
|
22
|
datasource:
|
|
23
|
23
|
driver-class-name: com.mysql.jdbc.Driver
|
|
24
|
|
- url: jdbc:mysql://192.168.123.38:3306/depot_yunnan?useUnicode=true&characterEncoding=utf-8
|
|
|
24
|
+ url: jdbc:mysql://172.16.0.46:3306/depot-yunnan?useUnicode=true&characterEncoding=utf-8
|
|
25
|
25
|
username: root
|
|
26
|
26
|
password: 123456
|
|
27
|
27
|
# 缓存配置
|
|
28
|
28
|
session:
|
|
29
|
29
|
store-type: redis
|
|
30
|
30
|
redis:
|
|
31
|
|
- database: 0
|
|
32
|
|
- host: 192.168.123.98
|
|
33
|
|
- port: 6666
|
|
34
|
|
- password: depotredis
|
|
|
31
|
+ database: 1
|
|
|
32
|
+ host: 172.16.0.46
|
|
|
33
|
+ port: 6679
|
|
|
34
|
+ password: 123456
|
|
35
|
35
|
timeout: 3000
|
|
36
|
36
|
jedis:
|
|
37
|
37
|
pool:
|