diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-12-19 01:27:09 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-12-19 01:27:09 -0800 |
| commit | 41c0f3ad2495508cdcea8ec22c18db46a925fecb (patch) | |
| tree | 3fc35c9fd4b3d56f65c5b5b0368e24390f34b943 /weed/command/scaffold.go | |
| parent | 0d5683fb0e6b1afe5fe7dadaa05361c0d698e795 (diff) | |
| download | seaweedfs-41c0f3ad2495508cdcea8ec22c18db46a925fecb.tar.xz seaweedfs-41c0f3ad2495508cdcea8ec22c18db46a925fecb.zip | |
filer: support path-specific filer store
Diffstat (limited to 'weed/command/scaffold.go')
| -rw-r--r-- | weed/command/scaffold.go | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go index 82410f6d9..1ab763004 100644 --- a/weed/command/scaffold.go +++ b/weed/command/scaffold.go @@ -185,6 +185,28 @@ sniff_enabled = false healthcheck_enabled = false # increase the value is recommend, be sure the value in Elastic is greater or equal here index.max_result_window = 10000 + + + +########################## +########################## +# To add path-specific filer store: +# +# 1. Add a name following the store type separated by a dot ".". E.g., cassandra.tmp +# 2. Add a location configuraiton. E.g., location = "/tmp/" +# 3. Copy and customize all other configurations. +# Make sure they are not the same if using the same store type! +# 4. Set enabled to true +# +# The following is just using cassandra as an example +########################## +[redis2.tmp] +enabled = false +location = "/tmp/" +address = "localhost:6379" +password = "" +database = 1 + ` NOTIFICATION_TOML_EXAMPLE = ` |
