Using Spring Cloud Config without Git repo
Run with spring.profiles.active=native
. See the File System Backend for more details. You'll want to set spring.cloud.config.server.native.searchLocations
to the dirs you want to look at.
For Windows I used it like this:
spring.cloud.config.server.git.uri=C:\\\\Users\\\\my.user\\\\Desktop\\\\config\\\\
You could try changing the search path to the following
classpath:/configs