|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+spring:
|
|
|
2
|
+ profiles:
|
|
|
3
|
+ active: agentLv
|
|
|
4
|
+---
|
|
1
|
5
|
server:
|
|
2
|
6
|
port: 9027
|
|
3
|
7
|
tomcat:
|
|
|
@@ -46,4 +50,56 @@ spring:
|
|
46
|
50
|
static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
|
|
47
|
51
|
|
|
48
|
52
|
web:
|
|
49
|
|
- upload-path: /upload
|
|
|
53
|
+ upload-path: /upload
|
|
|
54
|
+
|
|
|
55
|
+---
|
|
|
56
|
+server:
|
|
|
57
|
+ port: 9027
|
|
|
58
|
+ tomcat:
|
|
|
59
|
+ uri-encoding: utf-8
|
|
|
60
|
+
|
|
|
61
|
+# 注册中心配置
|
|
|
62
|
+eureka:
|
|
|
63
|
+ client:
|
|
|
64
|
+ service-url:
|
|
|
65
|
+ defaultZone: http://192.168.123.98:9002/eureka/
|
|
|
66
|
+ instance:
|
|
|
67
|
+ prefer-ip-address: true
|
|
|
68
|
+ # 每隔10s发送一次心跳(默认30s)
|
|
|
69
|
+ lease-renewal-interval-in-seconds: 10
|
|
|
70
|
+ # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
|
|
|
71
|
+ lease-expiration-duration-in-seconds: 30
|
|
|
72
|
+
|
|
|
73
|
+spring:
|
|
|
74
|
+ profiles: dev
|
|
|
75
|
+ application:
|
|
|
76
|
+ name: depot-agent-lv
|
|
|
77
|
+ # 数据库配置
|
|
|
78
|
+ datasource:
|
|
|
79
|
+ type: com.alibaba.druid.pool.DruidDataSource
|
|
|
80
|
+ 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
|
|
|
81
|
+ username: gbasedbt
|
|
|
82
|
+ password: depot123456
|
|
|
83
|
+ driver-class-name: com.gbasedbt.jdbc.IfxDriver
|
|
|
84
|
+ # 缓存配置
|
|
|
85
|
+ session:
|
|
|
86
|
+ store-type: redis
|
|
|
87
|
+ redis:
|
|
|
88
|
+ database: 2
|
|
|
89
|
+ host: 192.168.123.98
|
|
|
90
|
+ port: 6666
|
|
|
91
|
+ password: depotredis
|
|
|
92
|
+ timeout: 3000
|
|
|
93
|
+ jedis:
|
|
|
94
|
+ pool:
|
|
|
95
|
+ max-active: 8
|
|
|
96
|
+ max-wait: -1
|
|
|
97
|
+ max-idle: 8
|
|
|
98
|
+ min-idle: 0
|
|
|
99
|
+ # 静态资源配置
|
|
|
100
|
+ resources:
|
|
|
101
|
+ static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
|
|
|
102
|
+
|
|
|
103
|
+web:
|
|
|
104
|
+ upload-path: /upload
|
|
|
105
|
+logging.level.com.chinaitop.depot.agent.crk.mapper: debug
|