in your application.yml add this:
spring: profiles: active: local
and make sure you have your file named as application-local.yml and put your local settings there