diff --git a/.env b/.env index 69f336c..2eb6929 100644 --- a/.env +++ b/.env @@ -14,13 +14,13 @@ NEO_GO_PLATFORM=linux-amd64 NEO_GO_URL="https://github.com/nspcc-dev/neo-go/releases/download/v${NEOGO_VERSION}/neo-go-${NEO_GO_PLATFORM}" # NeoFS InnerRing nodes -IR_VERSION=0.50.2 -IR_IMAGE=nspccdev/neofs-ir -IR_NUMBER_OF_NODES=1 +IR_VERSION=0.50.2-7-g79e4ff0a-dirty +IR_IMAGE=nspccdev/neofs-dirty-ir +IR_NUMBER_OF_NODES=7 # NeoFS Storage nodes -NODE_VERSION=0.50.2 -NODE_IMAGE=nspccdev/neofs-storage +NODE_VERSION=0.50.2-7-g79e4ff0a-dirty +NODE_IMAGE=nspccdev/neofs-dirty-storage # REST Gate REST_GW_VERSION=0.8.2 diff --git a/services/ir7/cfg/config.yml b/services/ir7/cfg/config.yml index cea6ae6..41af877 100644 --- a/services/ir7/cfg/config.yml +++ b/services/ir7/cfg/config.yml @@ -74,4 +74,24 @@ settlement: basic_income_rate: 100000000 # Optional: override basic income rate value from network config; applied only in debug mode experimental: - chain_meta_data: true # Optional: allows creating containers with metadata handled via FS chain + chain_meta_data: # Optional: allows creating containers with metadata handled via FS chain + enabled: true + storage: + type: boltdb + path: /neofs_metachain/db.bolt + seed_nodes: + - ir01:20334 + - ir02:20334 + - ir03:20334 + - ir04:20334 + - ir05:20334 + - ir06:20334 + - ir07:20334 + rpc: + listen: + - ":30334" + p2p: + listen: + - ":20334" + peers: + min: 4 diff --git a/services/ir7/docker-compose.yml b/services/ir7/docker-compose.yml index b67549c..ca98602 100644 --- a/services/ir7/docker-compose.yml +++ b/services/ir7/docker-compose.yml @@ -18,6 +18,7 @@ services: - NEOFS_IR_CONTROL_GRPC_ENDPOINT=${NEOFS_IR_CONTROL_GRPC_ENDPOINT_1} volumes: - neofs_chain_ir01:/neofs_chain/ + - neofs_metachain_ir01:/neofs_metachain/ - ./alphabet/az.json:/wallet.json - ./../../vendor/hosts:/etc/hosts - ./../../vendor/neofs-cli:/neofs-cli @@ -49,6 +50,7 @@ services: - NEOFS_IR_CONTROL_GRPC_ENDPOINT=${NEOFS_IR_CONTROL_GRPC_ENDPOINT_2} volumes: - neofs_chain_ir02:/neofs_chain/ + - neofs_metachain_ir02:/neofs_metachain/ - ./alphabet/buky.json:/wallet.json - ./../../vendor/hosts:/etc/hosts - ./../../vendor/neofs-cli:/neofs-cli @@ -80,6 +82,7 @@ services: - NEOFS_IR_CONTROL_GRPC_ENDPOINT=${NEOFS_IR_CONTROL_GRPC_ENDPOINT_3} volumes: - neofs_chain_ir03:/neofs_chain/ + - neofs_metachain_ir03:/neofs_metachain/ - ./alphabet/vedi.json:/wallet.json - ./../../vendor/hosts:/etc/hosts - ./../../vendor/neofs-cli:/neofs-cli @@ -111,6 +114,7 @@ services: - NEOFS_IR_CONTROL_GRPC_ENDPOINT=${NEOFS_IR_CONTROL_GRPC_ENDPOINT_4} volumes: - neofs_chain_ir04:/neofs_chain/ + - neofs_metachain_ir04:/neofs_metachain/ - ./alphabet/glagoli.json:/wallet.json - ./../../vendor/hosts:/etc/hosts - ./../../vendor/neofs-cli:/neofs-cli @@ -142,6 +146,7 @@ services: - NEOFS_IR_CONTROL_GRPC_ENDPOINT=${NEOFS_IR_CONTROL_GRPC_ENDPOINT_5} volumes: - neofs_chain_ir05:/neofs_chain/ + - neofs_metachain_ir05:/neofs_metachain/ - ./alphabet/dobro.json:/wallet.json - ./../../vendor/hosts:/etc/hosts - ./../../vendor/neofs-cli:/neofs-cli @@ -173,6 +178,7 @@ services: - NEOFS_IR_CONTROL_GRPC_ENDPOINT=${NEOFS_IR_CONTROL_GRPC_ENDPOINT_6} volumes: - neofs_chain_ir06:/neofs_chain/ + - neofs_metachain_ir06:/neofs_metachain/ - ./alphabet/yest.json:/wallet.json - ./../../vendor/hosts:/etc/hosts - ./../../vendor/neofs-cli:/neofs-cli @@ -204,6 +210,7 @@ services: - NEOFS_IR_CONTROL_GRPC_ENDPOINT=${NEOFS_IR_CONTROL_GRPC_ENDPOINT_7} volumes: - neofs_chain_ir07:/neofs_chain/ + - neofs_metachain_ir07:/neofs_metachain/ - ./alphabet/zhivete.json:/wallet.json - ./../../vendor/hosts:/etc/hosts - ./../../vendor/neofs-cli:/neofs-cli @@ -252,4 +259,11 @@ volumes: neofs_chain_ir05: neofs_chain_ir06: neofs_chain_ir07: + neofs_metachain_ir01: + neofs_metachain_ir02: + neofs_metachain_ir03: + neofs_metachain_ir04: + neofs_metachain_ir05: + neofs_metachain_ir06: + neofs_metachain_ir07: diff --git a/services/storage/cfg/config.yml b/services/storage/cfg/config.yml index 24aeaca..47d33cd 100644 --- a/services/storage/cfg/config.yml +++ b/services/storage/cfg/config.yml @@ -47,3 +47,24 @@ storage: type: fstree path: /storage/fstree1 # FSTree root directory depth: 2 + +metadata: + seed_nodes: + - ir01:20334 + - ir02:20334 + - ir03:20334 + - ir04:20334 + - ir05:20334 + - ir06:20334 + - ir07:20334 + storage: + type: boltdb + path: /storage/metachain/db.bolt + rpc: + listen: + - ":30333" + p2p: + listen: + - ":20333" + peers: + min: 4