25.2 Programmatically setting profiles
You can programmatically set active profiles by calling SpringApplication.setAdditionalProfiles(…)
before your application runs. It is also possible to activate profiles using Spring’s ConfigurableEnvironment
interface.