Yml config files “Inheritance” with Spring boot
I couldn't find a straight answer online. Do Spring Boot's yml files "inherit" from each other? I mean if I have: application.yml which has server: port: 80 host: foo and application-profile1.yml which has only server: port: 90 So if I start my Spring Boot with profile1 as active profile, will I also have server.host property set to foo ? Yes, application.yml file has higher precedence over any application-{profile}.yml file. Properties from profile specific yml file will override values from the default application.yml file and properties that do not exist in profile specific yml file will be