添加企业环境配置
Showing
2 changed files
with
92 additions
and
0 deletions
... | @@ -93,6 +93,7 @@ | ... | @@ -93,6 +93,7 @@ |
93 | <exclude>develop/*</exclude> | 93 | <exclude>develop/*</exclude> |
94 | <exclude>release-test/*</exclude> | 94 | <exclude>release-test/*</exclude> |
95 | <exclude>zq-release/*</exclude> | 95 | <exclude>zq-release/*</exclude> |
96 | <exclude>enterprise-release/*</exclude> | ||
96 | </excludes> | 97 | </excludes> |
97 | <!--开启过滤器,此处不能忽略!--> | 98 | <!--开启过滤器,此处不能忽略!--> |
98 | <filtering>true</filtering> | 99 | <filtering>true</filtering> |
... | @@ -243,6 +244,43 @@ | ... | @@ -243,6 +244,43 @@ |
243 | <subPath>project</subPath> | 244 | <subPath>project</subPath> |
244 | </properties> | 245 | </properties> |
245 | </profile> | 246 | </profile> |
247 | |||
248 | <profile> | ||
249 | <id>enterprise-production-daop-master</id> | ||
250 | <properties> | ||
251 | <profileActive>enterprise-release</profileActive> | ||
252 | <subPath></subPath> | ||
253 | </properties> | ||
254 | </profile> | ||
255 | <profile> | ||
256 | <id>enterprise-production-daop-lt</id> | ||
257 | <properties> | ||
258 | <profileActive>enterprise-release</profileActive> | ||
259 | <subPath>lt</subPath> | ||
260 | </properties> | ||
261 | </profile> | ||
262 | <profile> | ||
263 | <id>enterprise-production-daop-zcgl</id> | ||
264 | <properties> | ||
265 | <profileActive>enterprise-release</profileActive> | ||
266 | <subPath>zcgl</subPath> | ||
267 | </properties> | ||
268 | </profile> | ||
269 | <profile> | ||
270 | <id>enterprise-production-daop-jgjf</id> | ||
271 | <properties> | ||
272 | <profileActive>enterprise-release</profileActive> | ||
273 | <subPath>jgjf</subPath> | ||
274 | </properties> | ||
275 | </profile> | ||
276 | <profile> | ||
277 | <id>enterprise-production-daop-project</id> | ||
278 | <properties> | ||
279 | <profileActive>enterprise-release</profileActive> | ||
280 | <subPath>project</subPath> | ||
281 | </properties> | ||
282 | </profile> | ||
283 | |||
246 | </profiles> | 284 | </profiles> |
247 | 285 | ||
248 | </project> | 286 | </project> | ... | ... |
1 | spring: | ||
2 | main: | ||
3 | allow-bean-definition-overriding: true | ||
4 | application: | ||
5 | name: ms-data-circulation-portal-service | ||
6 | cloud: | ||
7 | nacos: | ||
8 | #配置中心 | ||
9 | config: | ||
10 | server-addr: nacos-cluster-service.nacos-cluster:8848 | ||
11 | file-extension: yaml | ||
12 | group: enterprise-release | ||
13 | namespace: daop-lt | ||
14 | # 开启nacos自动刷新,如果这个配置没有或者为false会导致配置不能自动刷新(auto-refresh、enable-remote-sync-config两者缺一不可) | ||
15 | auto-refresh: true | ||
16 | # 允许nacos服务端向本地同步配置 | ||
17 | enable-remote-sync-config: true | ||
18 | #注册中心 | ||
19 | discovery: | ||
20 | enabled: true | ||
21 | server-addr: nacos-cluster-service.nacos-cluster:8848 | ||
22 | group: enterprise-release | ||
23 | namespace: daop-lt | ||
24 | metadata: | ||
25 | code: "004" | ||
26 | user: | ||
27 | name: nacos | ||
28 | password: nacos | ||
29 | management: | ||
30 | context-path: /actuator | ||
31 | #接口限流 | ||
32 | sentinel: | ||
33 | transport: | ||
34 | # port: 7777 | ||
35 | dashboard: sentinel-service.nacos-cluster:8858 | ||
36 | #取消懒加载 | ||
37 | eager: true | ||
38 | management: | ||
39 | endpoint: | ||
40 | health: | ||
41 | show-details: always | ||
42 | endpoints: | ||
43 | web: | ||
44 | exposure: | ||
45 | include: '*' | ||
46 | ###暂时禁用rabbit的健康检查 | ||
47 | health: | ||
48 | rabbit: | ||
49 | enabled: false | ||
50 | sentinel: | ||
51 | enabled: false | ||
52 | feign: | ||
53 | sentinel: | ||
54 | enabled: true | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or sign in to post a comment