|
|
@@ -1,20 +1,35 @@
|
|
1
|
|
-#本地开发环境
|
|
|
1
|
+spring:
|
|
|
2
|
+ profiles:
|
|
|
3
|
+ active: clouda
|
|
|
4
|
+ servlet:
|
|
|
5
|
+ multipart:
|
|
|
6
|
+ max-file-size: 20MB
|
|
|
7
|
+ max-request-size: 20MB
|
|
|
8
|
+ # 静态资源配置
|
|
|
9
|
+ resources:
|
|
|
10
|
+ static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
|
|
2
|
11
|
server:
|
|
3
|
12
|
port: 9012
|
|
4
|
13
|
tomcat:
|
|
5
|
14
|
uri-encoding: utf-8
|
|
6
|
|
-
|
|
|
15
|
+reportUrl: http://101.36.160.140:8097
|
|
|
16
|
+mybatis:
|
|
|
17
|
+ config-location: classpath:mybatis/mybatis-config.xml
|
|
|
18
|
+---
|
|
7
|
19
|
# 注册中心配置
|
|
8
|
20
|
eureka:
|
|
9
|
21
|
client:
|
|
10
|
22
|
service-url:
|
|
11
|
23
|
defaultZone: http://localhost:9001/eureka/
|
|
|
24
|
+ register-with-eureka: false
|
|
|
25
|
+ fetchRegistry: false
|
|
12
|
26
|
instance:
|
|
13
|
27
|
prefer-ip-address: true
|
|
14
|
28
|
lease-renewal-interval-in-seconds: 10
|
|
15
|
29
|
lease-expiration-duration-in-seconds: 30
|
|
16
|
|
-
|
|
|
30
|
+ status-page-url-path: /swagger-ui.html
|
|
17
|
31
|
spring:
|
|
|
32
|
+ profiles: locala
|
|
18
|
33
|
application:
|
|
19
|
34
|
name: depot-storage
|
|
20
|
35
|
# 数据库配置
|
|
|
@@ -29,7 +44,7 @@ spring:
|
|
29
|
44
|
store-type: redis
|
|
30
|
45
|
redis:
|
|
31
|
46
|
database: 2
|
|
32
|
|
- host: localhost
|
|
|
47
|
+ host: 127.0.0.1
|
|
33
|
48
|
port: 6379
|
|
34
|
49
|
password:
|
|
35
|
50
|
timeout: 3000
|
|
|
@@ -39,19 +54,87 @@ spring:
|
|
39
|
54
|
max-wait: -1
|
|
40
|
55
|
max-idle: 8
|
|
41
|
56
|
min-idle: 0
|
|
42
|
|
- jackson:
|
|
43
|
|
- date-format: yyyy-MM-dd
|
|
44
|
|
- time-zone: GMT+8
|
|
45
|
|
- # 静态资源配置
|
|
46
|
|
- resources:
|
|
47
|
|
- static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
|
|
48
|
|
- servlet:
|
|
49
|
|
- multipart:
|
|
50
|
|
- max-file-size: 20MB
|
|
51
|
|
- max-request-size: 20MB
|
|
52
|
|
-mybatis:
|
|
53
|
|
- config-location: classpath:mybatis/mybatis-config.xml
|
|
|
57
|
+web:
|
|
|
58
|
+ upload-path: D:/upload
|
|
|
59
|
+logging:
|
|
|
60
|
+ level:
|
|
|
61
|
+ com.chinaitop.depot.storage.mapper: debug
|
|
|
62
|
+---
|
|
|
63
|
+# 注册中心配置
|
|
|
64
|
+eureka:
|
|
|
65
|
+ client:
|
|
|
66
|
+ service-url:
|
|
|
67
|
+ defaultZone: http://172.16.0.4:9711/eureka/
|
|
|
68
|
+ instance:
|
|
|
69
|
+ prefer-ip-address: true
|
|
|
70
|
+ lease-renewal-interval-in-seconds: 10
|
|
|
71
|
+ lease-expiration-duration-in-seconds: 30
|
|
|
72
|
+ status-page-url-path: /swagger-ui.html
|
|
|
73
|
+
|
|
|
74
|
+spring:
|
|
|
75
|
+ profiles: clouda
|
|
|
76
|
+ application:
|
|
|
77
|
+ name: depot-storage
|
|
|
78
|
+ # 数据库配置
|
|
|
79
|
+ datasource:
|
|
|
80
|
+ type: com.alibaba.druid.pool.DruidDataSource
|
|
|
81
|
+ driver-class-name: com.gbasedbt.jdbc.IfxDriver
|
|
|
82
|
+ url: jdbc:gbasedbt-sqli://101.36.160.140:19089/depot:INFORMIXSERVER=ol_gbasedbt1210;NEWCODESET=GB18030,GB18030-2000,5488;DB_LOCALE=zh_cn.GB18030-2000;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;
|
|
|
83
|
+ username: gbasedbt
|
|
|
84
|
+ password: cDbK2S0go8
|
|
|
85
|
+ # 缓存配置 host: redis-depot
|
|
|
86
|
+ session:
|
|
|
87
|
+ store-type: redis
|
|
|
88
|
+ redis:
|
|
|
89
|
+ database: 4
|
|
|
90
|
+ host: 172.16.0.46
|
|
|
91
|
+ port: 6679
|
|
|
92
|
+ password: 123456
|
|
|
93
|
+ timeout: 3000
|
|
|
94
|
+ jedis:
|
|
|
95
|
+ pool:
|
|
|
96
|
+ max-active: 8
|
|
|
97
|
+ max-wait: -1
|
|
|
98
|
+ max-idle: 8
|
|
|
99
|
+ min-idle: 0
|
|
54
|
100
|
web:
|
|
55
|
101
|
upload-path: /home
|
|
|
102
|
+---
|
|
|
103
|
+# 注册中心配置
|
|
|
104
|
+eureka:
|
|
|
105
|
+ client:
|
|
|
106
|
+ service-url:
|
|
|
107
|
+ defaultZone: http://localhost:9001/eureka/
|
|
|
108
|
+ instance:
|
|
|
109
|
+ prefer-ip-address: true
|
|
|
110
|
+ lease-renewal-interval-in-seconds: 10
|
|
|
111
|
+ lease-expiration-duration-in-seconds: 30
|
|
56
|
112
|
|
|
57
|
|
-reportUrl: http://101.36.160.140:8097
|
|
|
113
|
+spring:
|
|
|
114
|
+ profiles: prop
|
|
|
115
|
+ application:
|
|
|
116
|
+ name: depot-storage
|
|
|
117
|
+ # 数据库配置
|
|
|
118
|
+ datasource:
|
|
|
119
|
+ type: com.alibaba.druid.pool.DruidDataSource
|
|
|
120
|
+ driver-class-name: com.gbasedbt.jdbc.IfxDriver
|
|
|
121
|
+ url: jdbc:gbasedbt-sqli://111.164.113.172:666/depot:INFORMIXSERVER=depot;
|
|
|
122
|
+ username: gbasedbt
|
|
|
123
|
+ password: GBase123
|
|
|
124
|
+ # 缓存配置 host: redis-depot
|
|
|
125
|
+ session:
|
|
|
126
|
+ store-type: redis
|
|
|
127
|
+ redis:
|
|
|
128
|
+ database: 0
|
|
|
129
|
+ host: 127.0.0.1
|
|
|
130
|
+ port: 6379
|
|
|
131
|
+ password:
|
|
|
132
|
+ timeout: 3000
|
|
|
133
|
+ jedis:
|
|
|
134
|
+ pool:
|
|
|
135
|
+ max-active: 8
|
|
|
136
|
+ max-wait: -1
|
|
|
137
|
+ max-idle: 8
|
|
|
138
|
+ min-idle: 0
|
|
|
139
|
+web:
|
|
|
140
|
+ upload-path: /home
|