gaodd пре 5 година
родитељ
комит
cc3f92b3e3
1 измењених фајлова са 6 додато и 6 уклоњено
  1. 6 6
      src/main/resources/bootstrap.yml

+ 6 - 6
src/main/resources/bootstrap.yml

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