Reputation: 137
Is there possibility or workaround to tell Spring Config Server to get config from itself? I have some common configs for all Spring Boot apps depending on profile and I want config server has possibility to access them without copy-paste.
Upvotes: 0
Views: 362
Reputation: 25177
From the docs:
An optional property that can be useful in this case is
spring.cloud.config.server.bootstrap
which is a flag to indicate that the server should configure itself from its own remote repository.
So setting spring.cloud.config.server.bootstrap=true
.
Upvotes: 5