forked from TrueCloudLab/frostfs-node
[#577] cmd/node: Add node section to config
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
52c82ef46a
commit
42d18f1322
5 changed files with 165 additions and 0 deletions
|
@ -6,6 +6,12 @@ NEOFS_PROFILER_SHUTDOWN_TIMEOUT=15s
|
|||
NEOFS_METRICS_ADDRESS=127.0.0.1:9090
|
||||
NEOFS_METRICS_SHUTDOWN_TIMEOUT=15s
|
||||
|
||||
# Node section
|
||||
NEOFS_NODE_KEY=path/hex/WIF
|
||||
NEOFS_NODE_ADDRESS=s01.neofs.devenv:8080
|
||||
NEOFS_NODE_ATTRIBUTE_0=Price:11
|
||||
NEOFS_NODE_ATTRIBUTE_1=UN-LOCODE:RU MSK
|
||||
NEOFS_NODE_RELAY=true
|
||||
|
||||
# Storage engine section
|
||||
NEOFS_STORAGE_SHARD_NUM=2
|
||||
|
|
|
@ -10,6 +10,13 @@
|
|||
"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
|
||||
},
|
||||
"storage": {
|
||||
"shard_num": 2,
|
||||
"shard": {
|
||||
|
|
|
@ -9,6 +9,13 @@ 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
|
||||
|
||||
storage:
|
||||
shard_num: 2
|
||||
shard:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue