Browse Source

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

adminGRP 5 years ago
parent
commit
53186cdd0f
1 changed files with 79 additions and 79 deletions
  1. 79 79
      src/main/resources/bootstrap.yml

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

@@ -1,80 +1,80 @@
1
-
2
-server:
3
-  port: 9002
4
-  tomcat:
5
-    uri-encoding: utf-8
6
-feign:
7
-  hystrix:
8
-    enabled: true 
9
-# 注册中心配置
10
-eureka:
11
-  client:
12
-    service-url:
13
-      defaultZone: http://172.16.0.4:9811/eureka/
14
-  instance:
15
-    prefer-ip-address: true
16
-    # 每隔10s发送一次心跳(默认30s)
17
-    lease-renewal-interval-in-seconds: 10
18
-    # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
19
-    lease-expiration-duration-in-seconds: 30
20
- 
21
-spring:
22
-  application:
23
-    name: depot-business
24
-  # 数据库配置
25
-  datasource:
26
-    driver-class-name: com.mysql.jdbc.Driver
27
-    #url: jdbc:mysql://218.241.206.66:14303/depot_tianjin?useUnicode=true&characterEncoding=utf-8
28
-    url: jdbc:mysql://101.36.160.140:10311/depot?useUnicode=true&characterEncoding=utf-8
29
-    #url: jdbc:mysql://111.164.113.173:667/depot?useUnicode=true&characterEncoding=utf-8
30
-    username: root
31
-    password: 123456
32
-  activiti:
33
-    check-process-definitions: false
34
-  # 缓存配置
35
-  session:
36
-    store-type: redis
37
-  redis:
38
-    database: 4
39
-    host: 172.16.0.46
40
-    port: 6679
41
-    password: 123456
42
-    timeout: 3000
43
-    jedis:
44
-      pool:
45
-        max-active: 8
46
-        max-wait: -1
47
-        max-idle: 8
48
-        min-idle: 0
49
-  # 静态资源配置
50
-  resources:
51
-    static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
52
-  servlet:
53
-    multipart:
54
-      max-file-size: 10Mb
55
-      max-request-size: 10Mb
56
-  devtools:
57
-    restart:
58
-      enabled: true  #设置开启热部署
59
-      additional-paths: src/main/java #重启目录
60
-  freemarker:
61
-    cache: false    #页面不加载缓存,修改即时生效
62
-reportUrl: http://192.168.123.132:88/api
63
-
64
-web:
65
-  upload-path: /home/depot/depot-web/apache-tomcat-8.0.53/webapps/ROOT/WEB-INF/classes/static
66
-cxf:
67
-  path: /business
68
-  
69
-  
70
-      
71
-  jackson:
72
-    date-format: yyyy-MM-dd
73
-    time-zone: GMT+8
74
-#出入库接口 更改粮食性质
75
-crk-webservice: http://10.223.3.62:9025/Base/webServices/StoreChangeServer?wsdl
76
-
77
-        
78
-
79
-
1
+
2
+server:
3
+  port: 9002
4
+  tomcat:
5
+    uri-encoding: utf-8
6
+feign:
7
+  hystrix:
8
+    enabled: true 
9
+# 注册中心配置
10
+eureka:
11
+  client:
12
+    service-url:
13
+      defaultZone: http://172.16.0.4:9711/eureka/
14
+  instance:
15
+    prefer-ip-address: true
16
+    # 每隔10s发送一次心跳(默认30s)
17
+    lease-renewal-interval-in-seconds: 10
18
+    # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
19
+    lease-expiration-duration-in-seconds: 30
20
+ 
21
+spring:
22
+  application:
23
+    name: depot-business
24
+  # 数据库配置
25
+  datasource:
26
+    driver-class-name: com.mysql.jdbc.Driver
27
+    #url: jdbc:mysql://218.241.206.66:14303/depot_tianjin?useUnicode=true&characterEncoding=utf-8
28
+    url: jdbc:mysql://101.36.160.140:10311/depot?useUnicode=true&characterEncoding=utf-8
29
+    #url: jdbc:mysql://111.164.113.173:667/depot?useUnicode=true&characterEncoding=utf-8
30
+    username: root
31
+    password: 123456
32
+  activiti:
33
+    check-process-definitions: false
34
+  # 缓存配置
35
+  session:
36
+    store-type: redis
37
+  redis:
38
+    database: 4
39
+    host: 172.16.0.46
40
+    port: 6679
41
+    password: 123456
42
+    timeout: 3000
43
+    jedis:
44
+      pool:
45
+        max-active: 8
46
+        max-wait: -1
47
+        max-idle: 8
48
+        min-idle: 0
49
+  # 静态资源配置
50
+  resources:
51
+    static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
52
+  servlet:
53
+    multipart:
54
+      max-file-size: 10Mb
55
+      max-request-size: 10Mb
56
+  devtools:
57
+    restart:
58
+      enabled: true  #设置开启热部署
59
+      additional-paths: src/main/java #重启目录
60
+  freemarker:
61
+    cache: false    #页面不加载缓存,修改即时生效
62
+reportUrl: http://192.168.123.132:88/api
63
+
64
+web:
65
+  upload-path: /home/depot/depot-web/apache-tomcat-8.0.53/webapps/ROOT/WEB-INF/classes/static
66
+cxf:
67
+  path: /business
68
+  
69
+  
70
+      
71
+  jackson:
72
+    date-format: yyyy-MM-dd
73
+    time-zone: GMT+8
74
+#出入库接口 更改粮食性质
75
+crk-webservice: http://10.223.3.62:9025/Base/webServices/StoreChangeServer?wsdl
76
+
77
+        
78
+
79
+
80 80