ddd
ddd

Reputation: 137

Is there possibility to Spring Config Server gets config from itself?

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

Answers (1)

spencergibb
spencergibb

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

Related Questions