47 lines
871 B
TOML
47 lines
871 B
TOML
[filer.options]
|
|
recursive_delete = false
|
|
|
|
[leveldb2]
|
|
enabled = true
|
|
dir = "/var/lib/seaweedfs/filer/meta"
|
|
|
|
[sqlite]
|
|
enabled = false
|
|
dbFile = "/var/lib/seaweedfs/filer/filer.db"
|
|
|
|
[mysql]
|
|
enabled = false
|
|
dsn = "root@tcp(localhost:3306)/seaweedfs?collation=utf8mb4_bin"
|
|
enable_tls = false
|
|
hostname = "localhost"
|
|
port = 3306
|
|
username = "root"
|
|
password = ""
|
|
database = ""
|
|
connection_max_idle = 10
|
|
connection_max_open = 50
|
|
connection_max_lifetime_seconds = 300
|
|
interpolateParams = false
|
|
enableUpsert = true
|
|
|
|
[postgres]
|
|
enabled = false
|
|
hostname = "localhost"
|
|
port = 5432
|
|
username = "postgres"
|
|
password = ""
|
|
database = "postgres"
|
|
schema = ""
|
|
sslmode = "disable"
|
|
connection_max_idle = 10
|
|
connection_max_open = 50
|
|
connection_max_lifetime_seconds = 300
|
|
pgbouncer_compatible = false
|
|
enableUpsert = true
|
|
|
|
[redis2]
|
|
enabled = false
|
|
address = "localhost:6379"
|
|
password = ""
|
|
database = 0
|