|
|
@@ -7,17 +7,21 @@ server:
|
|
7
|
7
|
eureka:
|
|
8
|
8
|
client:
|
|
9
|
9
|
service-url:
|
|
10
|
|
- defaultZone: http://192.168.123.98:9001/eureka/
|
|
|
10
|
+ defaultZone: http://eureka-depot-yn:9001/eureka/
|
|
11
|
11
|
instance:
|
|
12
|
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
|
|
13
|
17
|
|
|
14
|
18
|
spring:
|
|
15
|
19
|
application:
|
|
16
|
|
- name: depot-agile-g
|
|
|
20
|
+ name: depot-agile
|
|
17
|
21
|
# 数据库配置
|
|
18
|
22
|
datasource:
|
|
19
|
23
|
driver-class-name: com.mysql.jdbc.Driver
|
|
20
|
|
- url: jdbc:mysql://192.168.123.98:3306/lsreport_ts?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
|
|
24
|
+ url: jdbc:mysql://192.168.123.98:3306/lsreport_ts_yunnan?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
|
21
|
25
|
username: root
|
|
22
|
26
|
password: 123456
|
|
23
|
27
|
activiti:
|
|
|
@@ -46,6 +50,4 @@ spring:
|
|
46
|
50
|
max-request-size: 10Mb
|
|
47
|
51
|
|
|
48
|
52
|
web:
|
|
49
|
|
- upload-path: D:/depotImg/
|
|
50
|
|
-cxf:
|
|
51
|
|
- path: /business
|
|
|
53
|
+ upload-path: /home/depot/depot-web/apache-tomcat-8.0.53/webapps/ROOT/WEB-INF/classes/static
|