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
An eastern european proverb says that in order to give a deeper meaning to one’s life, in the course of our life it is necessary to build a house, give birth to a child and plant a tree.
Feel free to contact me contact me.