I am trying to learn Spring Cloud Config Server/Client setup. But more I read, the more I sink into a rabbit hole. The resources available online are good to get started with, but I am having a hard time with the complexity of what I am trying to build. So I have a few questions regarding what is doable and what is not doable! I am learning as I go!
First let me get this out of the way. I am not planning on using GIT. I will be using a local file system on Unix and run the Spring Cloud Server there.
1. To run with a file system, I need to use the profile "native". Is there a way to use dev, production etc profiles with a file system? I tried it but I keep getting the error GIT URI is needed when I start my application. I am not able to overcome this (this is probably my first major hurdle).
2. I have about six servers that will be sending requests for properties/files to Spring Cloud server. So I wanted to make six folders in the file system, and serve requests depending on where they are coming from. So I thought of making six profiles with different "spring.cloud.config.server.native.searchLocations" and maybe with a different port for each in them. Is this doable?
3. To do the above, I learned a bit about "composite" profiles. But couldn't find much examples online for it. So am I am not able to get it off the ground. Will it be helpful in what I am trying to achieve?
I have a lot more questions regarding Spring Cloud, but this is a start. Please help! I am a bit lost!