Run spring boot application with dev profile

Fill up environment variables with the following value: spring.profiles.active=dev

Or if you want to run a jar:

java -Dspring.config.location=application-dev.yml -jar my-jar-2.0.0.jar