123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347 |
- [filer.options]
- recursive_delete = false
- [leveldb2]
- enabled = true
- dir = "./filerldb2"
- [leveldb3]
- enabled = false
- dir = "./filerldb3"
- [rocksdb]
- enabled = false
- dir = "./filerrdb"
- [sqlite]
- enabled = false
- dbFile = "./filer.db"
- [mysql]
- enabled = false
- hostname = "localhost"
- port = 3306
- username = "root"
- password = ""
- database = ""
- connection_max_idle = 2
- connection_max_open = 100
- connection_max_lifetime_seconds = 0
- interpolateParams = false
- enableUpsert = true
- upsertQuery = """INSERT INTO `%s` (dirhash,name,directory,meta) VALUES(?,?,?,?) ON DUPLICATE KEY UPDATE meta = VALUES(meta)"""
- [mysql2]
- enabled = false
- createTable = """
- CREATE TABLE IF NOT EXISTS `%s` (
- dirhash BIGINT,
- name VARCHAR(1000) BINARY,
- directory TEXT BINARY,
- meta LONGBLOB,
- PRIMARY KEY (dirhash, name)
- ) DEFAULT CHARSET=utf8;
- """
- hostname = "localhost"
- port = 3306
- username = "root"
- password = ""
- database = ""
- connection_max_idle = 2
- connection_max_open = 100
- connection_max_lifetime_seconds = 0
- interpolateParams = false
- enableUpsert = true
- upsertQuery = """INSERT INTO `%s` (dirhash,name,directory,meta) VALUES(?,?,?,?) ON DUPLICATE KEY UPDATE meta = VALUES(meta)"""
- [postgres]
- enabled = false
- hostname = "localhost"
- port = 5432
- username = "postgres"
- password = ""
- database = "postgres"
- schema = ""
- sslmode = "disable"
- connection_max_idle = 100
- connection_max_open = 100
- connection_max_lifetime_seconds = 0
- enableUpsert = true
- upsertQuery = """INSERT INTO "%[1]s" (dirhash,name,directory,meta) VALUES($1,$2,$3,$4) ON CONFLICT (dirhash,name) DO UPDATE SET meta = EXCLUDED.meta WHERE "%[1]s".meta != EXCLUDED.meta"""
- [postgres2]
- enabled = false
- createTable = """
- CREATE TABLE IF NOT EXISTS "%s" (
- dirhash BIGINT,
- name VARCHAR(65535),
- directory VARCHAR(65535),
- meta bytea,
- PRIMARY KEY (dirhash, name)
- );
- """
- hostname = "localhost"
- port = 5432
- username = "postgres"
- password = ""
- database = "postgres"
- schema = ""
- sslmode = "disable"
- connection_max_idle = 100
- connection_max_open = 100
- connection_max_lifetime_seconds = 0
- enableUpsert = true
- upsertQuery = """INSERT INTO "%[1]s" (dirhash,name,directory,meta) VALUES($1,$2,$3,$4) ON CONFLICT (dirhash,name) DO UPDATE SET meta = EXCLUDED.meta WHERE "%[1]s".meta != EXCLUDED.meta"""
- [cassandra]
- enabled = false
- keyspace = "seaweedfs"
- hosts = [
- "localhost:9042",
- ]
- username = ""
- password = ""
- superLargeDirectories = []
- localDC = ""
- connection_timeout_millisecond = 600
- [hbase]
- enabled = false
- zkquorum = ""
- table = "seaweedfs"
- [redis2]
- enabled = false
- address = "localhost:6379"
- password = ""
- database = 0
- superLargeDirectories = []
- [redis2_sentinel]
- enabled = false
- addresses = ["172.22.12.7:26379","172.22.12.8:26379","172.22.12.9:26379"]
- masterName = "master"
- username = ""
- password = ""
- database = 0
- [redis_cluster2]
- enabled = false
- addresses = [
- "localhost:30001",
- "localhost:30002",
- "localhost:30003",
- "localhost:30004",
- "localhost:30005",
- "localhost:30006",
- ]
- password = ""
- readOnly = false
- routeByLatency = false
- superLargeDirectories = []
- [redis_lua]
- enabled = false
- address = "localhost:6379"
- password = ""
- database = 0
- superLargeDirectories = []
- [redis_lua_sentinel]
- enabled = false
- addresses = ["172.22.12.7:26379","172.22.12.8:26379","172.22.12.9:26379"]
- masterName = "master"
- username = ""
- password = ""
- database = 0
- [redis_lua_cluster]
- enabled = false
- addresses = [
- "localhost:30001",
- "localhost:30002",
- "localhost:30003",
- "localhost:30004",
- "localhost:30005",
- "localhost:30006",
- ]
- password = ""
- readOnly = false
- routeByLatency = false
- superLargeDirectories = []
- [redis3]
- enabled = false
- address = "localhost:6379"
- password = ""
- database = 0
- [redis3_sentinel]
- enabled = false
- addresses = ["172.22.12.7:26379","172.22.12.8:26379","172.22.12.9:26379"]
- masterName = "master"
- username = ""
- password = ""
- database = 0
- [redis_cluster3]
- enabled = false
- addresses = [
- "localhost:30001",
- "localhost:30002",
- "localhost:30003",
- "localhost:30004",
- "localhost:30005",
- "localhost:30006",
- ]
- password = ""
- readOnly = false
- routeByLatency = false
- [etcd]
- enabled = false
- servers = "localhost:2379"
- timeout = "3s"
- [mongodb]
- enabled = false
- uri = "mongodb://localhost:27017"
- option_pool_size = 0
- database = "seaweedfs"
- [elastic7]
- enabled = false
- servers = [
- "http://localhost1:9200",
- "http://localhost2:9200",
- "http://localhost3:9200",
- ]
- username = ""
- password = ""
- sniff_enabled = false
- healthcheck_enabled = false
- index.max_result_window = 10000
- [arangodb]
- enabled = false
- db_name = "seaweedfs"
- servers=["http://localhost:8529"]
- username=""
- password=""
- insecure_skip_verify = true
- [ydb]
- enabled = false
- dsn = "grpc://localhost:2136?database=/local"
- prefix = "seaweedfs"
- useBucketPrefix = true
- poolSizeLimit = 50
- dialTimeOut = 10
- [redis2.tmp]
- enabled = false
- location = "/tmp/"
- address = "localhost:6379"
- password = ""
- database = 1
- [tikv]
- enabled = false
- pdaddrs = "localhost:2379"
- deleterange_concurrency = 1
- enable_1pc = false
- ca_path=""
- cert_path=""
- key_path=""
- verify_cn=""
|