Sergio
Sergio

Reputation: 770

Spring cloud config server -Set directory of folder where git repo are cloned

The default configuration for a Spring cloud config server is:

/tmp/... 

Is there a way to change this configuration?

Upvotes: 3

Views: 6009

Answers (1)

spencergibb
spencergibb

Reputation: 25147

It actually uses the java temp dir facility, which on your system, happens to be /tmp.

You can set the following property to whatever directory you prefer.

--spring.cloud.config.server.git.basedir=/var/cfgserv

Upvotes: 9

Related Questions