2cfd3aee by 郭燕华

添加企业环境配置

1 parent 6b431534
......@@ -93,6 +93,7 @@
<exclude>develop/*</exclude>
<exclude>release-test/*</exclude>
<exclude>zq-release/*</exclude>
<exclude>enterprise-release/*</exclude>
</excludes>
<!--开启过滤器,此处不能忽略!-->
<filtering>true</filtering>
......@@ -243,6 +244,43 @@
<subPath>project</subPath>
</properties>
</profile>
<profile>
<id>enterprise-production-daop-master</id>
<properties>
<profileActive>enterprise-release</profileActive>
<subPath></subPath>
</properties>
</profile>
<profile>
<id>enterprise-production-daop-lt</id>
<properties>
<profileActive>enterprise-release</profileActive>
<subPath>lt</subPath>
</properties>
</profile>
<profile>
<id>enterprise-production-daop-zcgl</id>
<properties>
<profileActive>enterprise-release</profileActive>
<subPath>zcgl</subPath>
</properties>
</profile>
<profile>
<id>enterprise-production-daop-jgjf</id>
<properties>
<profileActive>enterprise-release</profileActive>
<subPath>jgjf</subPath>
</properties>
</profile>
<profile>
<id>enterprise-production-daop-project</id>
<properties>
<profileActive>enterprise-release</profileActive>
<subPath>project</subPath>
</properties>
</profile>
</profiles>
</project>
......
spring:
main:
allow-bean-definition-overriding: true
application:
name: ms-data-circulation-portal-service
cloud:
nacos:
#配置中心
config:
server-addr: nacos-cluster-service.nacos-cluster:8848
file-extension: yaml
group: enterprise-release
namespace: daop-lt
# 开启nacos自动刷新,如果这个配置没有或者为false会导致配置不能自动刷新(auto-refresh、enable-remote-sync-config两者缺一不可)
auto-refresh: true
# 允许nacos服务端向本地同步配置
enable-remote-sync-config: true
#注册中心
discovery:
enabled: true
server-addr: nacos-cluster-service.nacos-cluster:8848
group: enterprise-release
namespace: daop-lt
metadata:
code: "004"
user:
name: nacos
password: nacos
management:
context-path: /actuator
#接口限流
sentinel:
transport:
# port: 7777
dashboard: sentinel-service.nacos-cluster:8858
#取消懒加载
eager: true
management:
endpoint:
health:
show-details: always
endpoints:
web:
exposure:
include: '*'
###暂时禁用rabbit的健康检查
health:
rabbit:
enabled: false
sentinel:
enabled: false
feign:
sentinel:
enabled: true
\ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!