I have a Spring Boot project with this structure:
- /my-config - production-settings.yml - local-settings.yml- /src - /main - /java - (the usual Java stuff) - /resources - application.yml
This is my application.yml
:
my.personal.value: ${MY_PLACEHOLDER}
where I use a placeholder that is defined in local-settings.yml
:
MY_PLACEHOLDER: something
Can somebody please tell me how to use the spring.config.additional-location
with a relative path to the file local-settings.yml
, so that the placeholder can be resolved.
Thanks.