frostfs-node/config/example/node.json
Alex Vanin cd947bb580 [#493] cmd/node: Add object service section to config
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-02 16:07:42 +03:00

144 lines
3.3 KiB
JSON

{
"logger": {
"level": "debug"
},
"profiler": {
"address": "127.0.0.1:6060",
"shutdown_timeout": "15s"
},
"metrics": {
"address": "127.0.0.1:9090",
"shutdown_timeout": "15s"
},
"node": {
"key": "path/hex/WIF",
"address": "s01.neofs.devenv:8080",
"attribute_0": "Price:11",
"attribute_1": "UN-LOCODE:RU MSK",
"relay": true
},
"grpc": {
"endpoint": "s01.neofs.devenv:8080",
"tls": {
"enabled": true,
"certificate": "/path/to/cert",
"key": "/path/to/key"
}
},
"control": {
"authorized_keys": [
"035839e45d472a3b7769a2a1bd7d54c4ccd4943c3b40f547870e83a8fcbfb3ce11",
"028f42cfcb74499d7b15b35d9bff260a1c8d27de4f446a627406a382d8961486d6"
],
"grpc": {
"endpoint": "127.0.0.1:8090"
}
},
"contracts": {
"balance": "5263abba1abedbf79bb57f3e40b50b4425d2d6cd",
"container": "5d084790d7aa36cea7b53fe897380dab11d2cd3c",
"netmap": "0cce9e948dca43a6b592efe59ddb4ecb89bdd9ca",
"reputation": "441995f631c1da2b133462b71859494a5cd45e90"
},
"morph": {
"dial_timeout": "30s",
"rpc_endpoint": [
"https://rpc1.morph.fs.neo.org:40341",
"https://rpc2.morph.fs.neo.org:40341"
],
"notification_endpoint": [
"wss://rpc1.morph.fs.neo.org:40341/ws",
"wss://rpc2.morph.fs.neo.org:40341/ws"
]
},
"mainchain": {
"dial_timeout": "30s",
"rpc_endpoint": [
"https://rpc1.n3.nspcc.ru:30341",
"https://rpc2.n3.nspcc.ru:30341"
]
},
"apiclient": {
"dial_timeout": "15s"
},
"policer": {
"head_timeout": "15s"
},
"replicator": {
"put_timeout": "15s"
},
"object": {
"put": {
"pool_size": 100
}
},
"storage": {
"shard_num": 2,
"shard": {
"0": {
"use_write_cache": false,
"writecache": {
"path": "tmp/0/cache",
"mem_size": 111,
"db_size": 222,
"small_size": 333,
"max_size": 444,
"workers_number": 555
},
"metabase": {
"path": "tmp/0/meta",
"perm": "0700"
},
"blobstor": {
"path": "tmp/0/blob",
"perm": "0666",
"shallow_depth": 5,
"compress": true,
"small_size_limit": 77,
"blobovnicza": {
"size": 1024,
"shallow_depth": 10,
"shallow_width": 20,
"opened_cache_size": 88
}
},
"gc": {
"remover_batch_size": 123,
"remover_sleep_interval": "3h"
}
},
"1": {
"use_write_cache": true,
"writecache": {
"path": "tmp/1/cache",
"mem_size": 112,
"db_size": 223,
"small_size": 334,
"max_size": 445,
"workers_number": 556
},
"metabase": {
"path": "tmp/1/meta",
"perm": "0701"
},
"blobstor": {
"path": "tmp/1/blob",
"perm": "0667",
"shallow_depth": 6,
"compress": false,
"small_size_limit": 78,
"blobovnicza": {
"size": 1025,
"shallow_depth": 11,
"shallow_width": 21,
"opened_cache_size": 89
}
},
"gc": {
"remover_batch_size": 124,
"remover_sleep_interval": "3h1s"
}
}
}
}
}