Просмотр исходного кода

更新 'src/main/resources/bootstrap.yml'

adminGRP лет назад: 5
Родитель
Сommit
81f83623d7
1 измененных файлов с 52 добавлено и 52 удалено
  1. 52 52
      src/main/resources/bootstrap.yml

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

@@ -1,52 +1,52 @@
1
-server:
2
-  port: 9006
3
-  tomcat:
4
-    uri-encoding: utf-8
5
-
6
-# 注册中心配置
7
-eureka:
8
-  client:
9
-    service-url:
10
-      defaultZone: http://172.16.0.46:9511/eureka/
11
-  instance:
12
-    prefer-ip-address: true
13
-    # 每隔10s发送一次心跳(默认30s)
14
-    lease-renewal-interval-in-seconds: 10
15
-    # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
16
-    lease-expiration-duration-in-seconds: 30
17
-
18
-spring:
19
-  application:
20
-    name: depot-customer
21
-  # 数据库配置
22
-  datasource:
23
-    driver-class-name: com.mysql.jdbc.Driver
24
-    url: jdbc:mysql://172.16.0.46:3306/depot-yunnan?useUnicode=true&characterEncoding=utf-8&useSSL=false
25
-    username: root
26
-    password: 123456
27
-  # 缓存配置
28
-  session:
29
-    store-type: redis
30
-  redis:
31
-    database: 1
32
-    host: 172.16.0.46
33
-    port: 6679
34
-    password: 123456
35
-    timeout: 3000
36
-    jedis:
37
-      pool:
38
-        max-active: 8
39
-        max-wait: -1
40
-        max-idle: 8
41
-        min-idle: 0
42
-  # 静态资源配置
43
-  resources:
44
-    static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
45
-
46
-  jackson:
47
-    date-format: yyyy-MM-dd
48
-    time-zone: GMT+8
49
-
50
-web:
51
-  upload-path: /upload
52
-
1
+server:
2
+  port: 9006
3
+  tomcat:
4
+    uri-encoding: utf-8
5
+
6
+# 注册中心配置
7
+eureka:
8
+  client:
9
+    service-url:
10
+      defaultZone: http://121.37.6.72:9811/eureka/
11
+  instance:
12
+    prefer-ip-address: true
13
+    # 每隔10s发送一次心跳(默认30s)
14
+    lease-renewal-interval-in-seconds: 10
15
+    # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
16
+    lease-expiration-duration-in-seconds: 30
17
+
18
+spring:
19
+  application:
20
+    name: depot-customer
21
+  # 数据库配置
22
+  datasource:
23
+    driver-class-name: com.mysql.jdbc.Driver
24
+    url: jdbc:mysql://121.37.6.72:3306/depot-neimeng?useUnicode=true&characterEncoding=utf-8&useSSL=false
25
+    username: root
26
+    password: Huawei1234%^&*
27
+  # 缓存配置
28
+  session:
29
+    store-type: redis
30
+  redis:
31
+    database: 1
32
+    host: 121.37.6.72
33
+    port: 6379
34
+    password: 123456
35
+    timeout: 3000
36
+    jedis:
37
+      pool:
38
+        max-active: 8
39
+        max-wait: -1
40
+        max-idle: 8
41
+        min-idle: 0
42
+  # 静态资源配置
43
+  resources:
44
+    static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
45
+
46
+  jackson:
47
+    date-format: yyyy-MM-dd
48
+    time-zone: GMT+8
49
+
50
+web:
51
+  upload-path: /upload
52
+