From 6f0aef818894f04009c0493ddd5508f006f79e8d Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Mon, 27 Jun 2016 21:21:41 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- spring-cloud-config.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/spring-cloud-config.html b/spring-cloud-config.html index 9f0e11ce..5285a837 100644 --- a/spring-cloud-config.html +++ b/spring-cloud-config.html @@ -1100,6 +1100,21 @@ search).

+

Version Control Backend Filesystem Use

+
+ + + + + +
+
Warning
+
+With VCS based backends (git, svn) files are checked out or cloned to the local filesystem. By default they are put in the system temporary directory with a prefix of config-repo-. On linux, for example it could be /tmp/config-repo-<randomid>. Some operating systems routinely clean out temporary directories. This can lead to unexpected behaviour such as missing properties. To avoid this problem, change the directory Config Server uses, by setting spring.cloud.config.server.git.basedir or spring.cloud.config.server.svn.basedir to a directory that does not reside in the system temp structure. +
+
+
+

File System Backend

There is also a "native" profile in the Config Server that doesn’t use @@ -2040,7 +2055,7 @@ grabbing it in the bootstrap context and injecting one).