diff options
| author | ruitao.liu <ruitao.liu@cloudminds.com> | 2020-09-10 14:22:07 +0800 |
|---|---|---|
| committer | ruitao.liu <ruitao.liu@cloudminds.com> | 2020-09-10 14:22:07 +0800 |
| commit | 3f7fbfddca8614fc0d5bb31960993599b5c44bca (patch) | |
| tree | aca29e242c134420b62d34d13c4bdb0a7c8b1f9a /weed/command/scaffold.go | |
| parent | daf0a449f7424d4a8252673509af5afd0b9bd8ec (diff) | |
| download | seaweedfs-3f7fbfddca8614fc0d5bb31960993599b5c44bca.tar.xz seaweedfs-3f7fbfddca8614fc0d5bb31960993599b5c44bca.zip | |
add more basic elastic options.
Diffstat (limited to 'weed/command/scaffold.go')
| -rw-r--r-- | weed/command/scaffold.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go index 68fe8e982..7ced118ca 100644 --- a/weed/command/scaffold.go +++ b/weed/command/scaffold.go @@ -176,7 +176,11 @@ 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 ` |
