Spring profiles

Running Spring boot application under different profiles:

In intellij, click the edit configurations in the run/build dropdown

Under Environment > Vm options add:

-Dspring.profiles.active=local,dev

Leave a comment

Your email address will not be published. Required fields are marked *