Profile 不同环境使用不同配置文件

后缀法


## health端点
management.endpoint.health.show-details=always

## 激活所有actuator端点
management.endpoints.web.exposure.include=*
## 激活指定端点


#info端点
info.app-name=docker-discovery
info.author=xmc000
info.email=xmc000@icloud.comv
#configprops 查看应用配置属性
# metrics 查看jvm
spring.profiles.active=dev

server.tomcat.threads.max=300
server.tomcat.max-connections=1000

指定不同环境配置

properties命名:application-*.properties