Browse Source

generate useable filer.toml

pull/747/head
Chris Lu 6 years ago
parent
commit
12ba8b9799
  1. 8
      weed/command/scaffold.go

8
weed/command/scaffold.go

@ -59,7 +59,7 @@ enabled = false
[leveldb] [leveldb]
# local on disk, mostly for simple single-machine setup, fairly scalable # local on disk, mostly for simple single-machine setup, fairly scalable
enabled = false
enabled = true
dir = "." # directory to store level db files dir = "." # directory to store level db files
#################################################### ####################################################
@ -74,7 +74,7 @@ dir = "." # directory to store level db files
# meta BLOB, # meta BLOB,
# PRIMARY KEY (dirhash, name) # PRIMARY KEY (dirhash, name)
# ) DEFAULT CHARSET=utf8; # ) DEFAULT CHARSET=utf8;
enabled = true
enabled = false
hostname = "localhost" hostname = "localhost"
port = 3306 port = 3306
username = "root" username = "root"
@ -115,7 +115,7 @@ hosts=[
] ]
[redis] [redis]
enabled = true
enabled = false
address = "localhost:6379" address = "localhost:6379"
password = "" password = ""
db = 0 db = 0
@ -137,7 +137,7 @@ addresses = [
# sends filer updates for each file to an external message queue # sends filer updates for each file to an external message queue
#################################################### ####################################################
[notification.log] [notification.log]
enabled = true
enabled = false
[notification.kafka] [notification.kafka]
enabled = false enabled = false

Loading…
Cancel
Save