|
|
@@ -11,7 +11,7 @@ server:
|
|
11
|
11
|
eureka:
|
|
12
|
12
|
client:
|
|
13
|
13
|
service-url:
|
|
14
|
|
- defaultZone: http://localhost:9002/eureka/
|
|
|
14
|
+ defaultZone: http://172.16.0.4:9711/eureka/
|
|
15
|
15
|
instance:
|
|
16
|
16
|
prefer-ip-address: true
|
|
17
|
17
|
# 每隔10s发送一次心跳(默认30s)
|
|
|
@@ -33,17 +33,65 @@ spring:
|
|
33
|
33
|
username: gbasedbt
|
|
34
|
34
|
password: cDbK2S0go8
|
|
35
|
35
|
driver-class-name: com.gbasedbt.jdbc.IfxDriver
|
|
36
|
|
- # url: jdbc:gbasedbt-sqli://111.164.113.172:666/depot:INFORMIXSERVER=gbaseserver;NEWCODESET=GBK,8859-1,819;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;
|
|
37
|
|
- # username: gbasedbt
|
|
38
|
|
- # password: GBase123
|
|
|
36
|
+ # 缓存配置
|
|
|
37
|
+ session:
|
|
|
38
|
+ store-type: redis
|
|
|
39
|
+ redis:
|
|
|
40
|
+ database: 4
|
|
|
41
|
+ host: 172.16.0.46
|
|
|
42
|
+ port: 6679
|
|
|
43
|
+ password: 123456
|
|
|
44
|
+ timeout: 3000
|
|
|
45
|
+ jedis:
|
|
|
46
|
+ pool:
|
|
|
47
|
+ max-active: 8
|
|
|
48
|
+ max-wait: -1
|
|
|
49
|
+ max-idle: 8
|
|
|
50
|
+ min-idle: 0
|
|
|
51
|
+ # 静态资源配置
|
|
|
52
|
+ resources:
|
|
|
53
|
+ static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
|
|
|
54
|
+
|
|
|
55
|
+web:
|
|
|
56
|
+ upload-path: /upload
|
|
|
57
|
+
|
|
|
58
|
+---
|
|
|
59
|
+server:
|
|
|
60
|
+ port: 9027
|
|
|
61
|
+ tomcat:
|
|
|
62
|
+ uri-encoding: utf-8
|
|
|
63
|
+
|
|
|
64
|
+# 注册中心配置
|
|
|
65
|
+eureka:
|
|
|
66
|
+ client:
|
|
|
67
|
+ service-url:
|
|
|
68
|
+ defaultZone: http://192.168.123.98:9002/eureka/
|
|
|
69
|
+ instance:
|
|
|
70
|
+ prefer-ip-address: true
|
|
|
71
|
+ # 每隔10s发送一次心跳(默认30s)
|
|
|
72
|
+ lease-renewal-interval-in-seconds: 10
|
|
|
73
|
+ # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
|
|
|
74
|
+ lease-expiration-duration-in-seconds: 30
|
|
|
75
|
+
|
|
|
76
|
+spring:
|
|
|
77
|
+ profiles: dev
|
|
|
78
|
+ application:
|
|
|
79
|
+ name: depot-agent-lv
|
|
|
80
|
+ # 数据库配置
|
|
|
81
|
+ datasource:
|
|
|
82
|
+ type: com.alibaba.druid.pool.DruidDataSource
|
|
|
83
|
+ url: jdbc:gbasedbt-sqli://192.168.123.38:9099/depot:INFORMIXSERVER=depot;NEWCODESET=GBK,8859-1,819;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;DB_LOCALE=zh_cn.GB18030-2000
|
|
|
84
|
+ username: gbasedbt
|
|
|
85
|
+ password: depot123456
|
|
|
86
|
+ driver-class-name: com.gbasedbt.jdbc.IfxDriver
|
|
39
|
87
|
# 缓存配置
|
|
40
|
88
|
session:
|
|
41
|
89
|
store-type: redis
|
|
42
|
90
|
redis:
|
|
43
|
91
|
database: 2
|
|
44
|
|
- host: localhost
|
|
45
|
|
- port: 6379
|
|
46
|
|
- password:
|
|
|
92
|
+ host: 192.168.123.98
|
|
|
93
|
+ port: 6666
|
|
|
94
|
+ password: depotredis
|
|
47
|
95
|
timeout: 3000
|
|
48
|
96
|
jedis:
|
|
49
|
97
|
pool:
|
|
|
@@ -56,4 +104,5 @@ spring:
|
|
56
|
104
|
static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
|
|
57
|
105
|
|
|
58
|
106
|
web:
|
|
59
|
|
- upload-path: /upload
|
|
|
107
|
+ upload-path: /upload
|
|
|
108
|
+logging.level.com.chinaitop.depot.agent.crk.mapper: debug
|