Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

Spring-boot yaml config change default path

$
0
0

I want to change *.yaml configs files default path to root level under "/config" directory (now default is "/src/main/resources").Probably this is possible by create config bean but I never did it and in documentation cannot find information if this is possible to do in this way. I want to change default path so all config profiles should normally run using new location without any special additions except overwrite config. The same I want to do for configs using in tests but put into "/config-tests" directory.Thank you very much for help with this.


Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>