aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2020-09-10 01:31:17 -0700
committerGitHub <noreply@github.com>2020-09-10 01:31:17 -0700
commit0d9b858cfbd2b8a701b49924295990a9ead33ba0 (patch)
treef3d8b1624c0937faadf1a9f260565898b5e61510 /weed/command/scaffold.go
parent8a1eeadd39f531de8af5f679262e780979d0c4d6 (diff)
parent9be4e97625808b5ab3eb235d529fff1c26f8ae59 (diff)
downloadseaweedfs-0d9b858cfbd2b8a701b49924295990a9ead33ba0.tar.xz
seaweedfs-0d9b858cfbd2b8a701b49924295990a9ead33ba0.zip
Merge pull request #1455 from taozix/master
add more basic elastic options.
Diffstat (limited to 'weed/command/scaffold.go')
-rw-r--r--weed/command/scaffold.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index 68fe8e982..800bc6029 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -176,7 +176,15 @@ database = "seaweedfs"
[elastic7]
enabled = false
-servers = "http://localhost:9200"
+servers = [
+ "http://localhost1:9200",
+ "http://localhost2:9200",
+ "http://localhost3:9200",
+]
+username = ""
+password = ""
+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
`