mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
docs: advise against shared CODER_CACHE_DIRECTORY dir usage in note (#14216)
This commit is contained in:
@@ -1977,13 +1977,14 @@ when required by your organization's security policy.`,
|
||||
Annotations: serpent.Annotations{}.Mark(annotationExternalProxies, "true"),
|
||||
},
|
||||
{
|
||||
Name: "Cache Directory",
|
||||
Description: "The directory to cache temporary files. If unspecified and $CACHE_DIRECTORY is set, it will be used for compatibility with systemd.",
|
||||
Flag: "cache-dir",
|
||||
Env: "CODER_CACHE_DIRECTORY",
|
||||
Default: DefaultCacheDir(),
|
||||
Value: &c.CacheDir,
|
||||
YAML: "cacheDir",
|
||||
Name: "Cache Directory",
|
||||
Description: "The directory to cache temporary files. If unspecified and $CACHE_DIRECTORY is set, it will be used for compatibility with systemd. " +
|
||||
"This directory is NOT safe to be configured as a shared directory across coderd/provisionerd replicas.",
|
||||
Flag: "cache-dir",
|
||||
Env: "CODER_CACHE_DIRECTORY",
|
||||
Default: DefaultCacheDir(),
|
||||
Value: &c.CacheDir,
|
||||
YAML: "cacheDir",
|
||||
},
|
||||
{
|
||||
Name: "In Memory Database",
|
||||
|
||||
Reference in New Issue
Block a user