aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold.go
diff options
context:
space:
mode:
authorFeng Ye <fengye87.me@gmail.com>2019-08-01 10:16:45 +0800
committerFeng Ye <fengye87.me@gmail.com>2019-08-01 10:16:45 +0800
commitfc0498798bbf643f2894d62827bfd73400c112c6 (patch)
treed1f0cd7e7bc524ee425b894c82ba9b9b1ab3552f /weed/command/scaffold.go
parentca2b81a944b995fd7ffafdb7e0bf6eb8df1ecdcb (diff)
downloadseaweedfs-fc0498798bbf643f2894d62827bfd73400c112c6.tar.xz
seaweedfs-fc0498798bbf643f2894d62827bfd73400c112c6.zip
Add etcd filestore
Diffstat (limited to 'weed/command/scaffold.go')
-rw-r--r--weed/command/scaffold.go13
1 files changed, 9 insertions, 4 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index 062fe0ff8..67e0ae7c9 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -145,6 +145,11 @@ addresses = [
]
password = ""
+[etcd]
+enabled = false
+servers = "localhost:2379"
+timeout = "3s"
+
`
NOTIFICATION_TOML_EXAMPLE = `
@@ -217,22 +222,22 @@ grpcAddress = "localhost:18888"
# all files under this directory tree are replicated.
# this is not a directory on your hard drive, but on your filer.
# i.e., all files with this "prefix" are sent to notification message queue.
-directory = "/buckets"
+directory = "/buckets"
[sink.filer]
enabled = false
grpcAddress = "localhost:18888"
# all replicated files are under this directory tree
-# this is not a directory on your hard drive, but on your filer.
+# this is not a directory on your hard drive, but on your filer.
# i.e., all received files will be "prefixed" to this directory.
-directory = "/backup"
+directory = "/backup"
replication = ""
collection = ""
ttlSec = 0
[sink.s3]
# read credentials doc at https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/sessions.html
-# default loads credentials from the shared credentials file (~/.aws/credentials).
+# default loads credentials from the shared credentials file (~/.aws/credentials).
enabled = false
aws_access_key_id = "" # if empty, loads from the shared credentials file (~/.aws/credentials).
aws_secret_access_key = "" # if empty, loads from the shared credentials file (~/.aws/credentials).