SpringBoot的Profile功能

1、多Profile文件 在主配置文件編寫的時候,文件名可以是 apllication-{profile}.properties/yml 默認使用application.properties的配置   2、yml支持多文檔塊方式 server: port: 8081 spring: profiles: active: prod --- server: port: 8083 sp
相關文章
相關標籤/搜索