frostfs-node/config/example/node.json
Evgenii Stratonikov d1be5b5f9e [] neofs-node: default to secure TLS settings
Support TLS >=1.2 only and strong cipher suites.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-12-02 12:05:41 +03:00

186 lines
4.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": "./wallet.key",
"wallet": {
"path": "./wallet.json",
"address": "NcpJzXcSDrh5CCizf4K9Ro6w4t59J5LKzz",
"password": "password"
},
"addresses": [
"s01.neofs.devenv:8080",
"/dns4/s02.neofs.devenv/tcp/8081",
"grpc://127.0.0.1:8082",
"grpcs://localhost:8083"
],
"attribute_0": "Price:11",
"attribute_1": "UN-LOCODE:RU MSK",
"relay": true,
"persistent_state": {
"path": "/state"
},
"subnet": {
"exit_zero": true,
"entries": [
"123",
"456",
"789"
]
}
},
"grpc": {
"num": 2,
"0": {
"endpoint": "s01.neofs.devenv:8080",
"tls": {
"enabled": true,
"certificate": "/path/to/cert",
"key": "/path/to/key"
}
},
"1": {
"endpoint": "s02.neofs.devenv:8080",
"tls": {
"enabled": false
}
},
"2": {
"endpoint": "s03.neofs.devenv:8080",
"tls": {
"enabled": true,
"use_insecure_crypto": true
}
}
},
"control": {
"authorized_keys": [
"035839e45d472a3b7769a2a1bd7d54c4ccd4943c3b40f547870e83a8fcbfb3ce11",
"028f42cfcb74499d7b15b35d9bff260a1c8d27de4f446a627406a382d8961486d6"
],
"grpc": {
"endpoint": "127.0.0.1:8090"
}
},
"contracts": {
"balance": "5263abba1abedbf79bb57f3e40b50b4425d2d6cd",
"container": "5d084790d7aa36cea7b53fe897380dab11d2cd3c",
"netmap": "0cce9e948dca43a6b592efe59ddb4ecb89bdd9ca",
"reputation": "441995f631c1da2b133462b71859494a5cd45e90",
"proxy": "ad7c6b55b737b696e5c82c85445040964a03e97f"
},
"morph": {
"dial_timeout": "30s",
"disable_cache": true,
"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_remote": 100
}
},
"storage": {
"shard_pool_size": 15,
"shard_num": 2,
"shard": {
"0": {
"resync_metabase": false,
"use_write_cache": false,
"writecache": {
"path": "tmp/0/cache",
"memcache_capacity": 2147483648,
"small_object_size": 16384,
"max_object_size": 134217728,
"workers_number": 30,
"capacity": 3221225472
},
"metabase": {
"path": "tmp/0/meta",
"perm": "0644"
},
"blobstor": {
"path": "tmp/0/blob",
"perm": "0644",
"compress": true,
"depth": 5,
"small_object_size": 102400,
"blobovnicza": {
"size": 4194304,
"depth": 1,
"width": 4,
"opened_cache_capacity": 50
}
},
"gc": {
"remover_batch_size": 150,
"remover_sleep_interval": "2m"
}
},
"1": {
"resync_metabase": true,
"use_write_cache": true,
"writecache": {
"path": "tmp/1/cache",
"memcache_capacity": 2147483648,
"small_object_size": 16384,
"max_object_size": 134217728,
"workers_number": 30,
"capacity": 4294967296
},
"metabase": {
"path": "tmp/1/meta",
"perm": "0644"
},
"blobstor": {
"path": "tmp/1/blob",
"perm": "0644",
"compress": false,
"depth": 5,
"small_object_size": 102400,
"blobovnicza": {
"size": 4194304,
"depth": 1,
"width": 4,
"opened_cache_capacity": 50
}
},
"gc": {
"remover_batch_size": 200,
"remover_sleep_interval": "5m"
}
}
}
}
}