I am working on an Spring web application in where I need to have variable\'s that will have different value in local environment and other value in production environment.<
you can add -Dspring.profile.active=local in your spring boot application, when you start your server. It will pick application-local.properties