If your editor of choice happens to be Idea and you want to use its 'Run Dashboard' follow these steps:
First of all enable Annotations processing if you haven't done so already (Just go to settings and search for 'annotation').
-
Go to 'Run Dashboard'
-
Right click a service and select 'Edit Configuration' (or press F4 while the service is selected)
-
Clear all 'VM options' in the 'Environment' section
-
Then under the 'Override parameters' section add a new parameter
--spring.config.additional-location
and its valuefile:./config/local/{SERVICE_NAME}.yml
-
Run the service