application.yml
spring:
profiles:
active: prod
application-dev.yml
server:
port: 8081
application-prod.yml
server:
port: 8082
application.yml
spring:
profiles:
active: prod
application-dev.yml
server:
port: 8081
application-prod.yml
server:
port: 8082
本文标题:spring boot yml多文件配置
本文链接:https://www.haomeiwen.com/subject/qhflcqtx.html
网友评论