Spring Cloud配置文件
# 公用环境
spring:
application:
name: spring-cloud-alibbaba
# 连字符
---
spring:
profiles: dev
---
spring:
profiles: pro
management:
endpoint:
health:
show-details: always
endpoints:
web:
exposure:
include: '*'
可以在一个配置文件写多个环境的配置