springboot yaml 配置管理

#所有环境公用的配置属性management:  endpoint:    health:      show-details: always  endpoints:    web:      exposure:        include: ‘*‘info:  app-name: pay  author: xiaofeiyang  email: spring:  profiles:    active: prod#连字符---# profile=x的专用属性,也就是某个环境下的专用属性#开发环境spring:  profiles: dev---# profile=y的专用属性,也就是某个环境下的专用属性#生产环境spring:  profiles: prodserver:  tomcat:    max-threads: 300    max-connections: 1000---