[#752] config/mainnet: Add config template

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-08-06 12:29:23 +03:00 committed by Alex Vanin
parent 06af24dd56
commit 118e36c550
3 changed files with 97 additions and 1 deletions

24
config/mainnet/README.md Normal file
View file

@ -0,0 +1,24 @@
# N3 Mainnet Storage node configuration
Here is the template for simple storage node configuration in N3 Mainnet.
Make sure to specify correct values instead of `<...>` placeholders.
Do not change `contracts` section. Run latest neofs-node release with
fixed config `neofs-node -c config.yml`
## Tips
Use `grpcs://` scheme in announced address if you enable TLS in grpc server.
```yaml
node:
addresses:
- grpcs://neofs.my.org:8080
grpc:
num: 1
0:
endpoint: neofs.my.org:8080
tls:
enabled: true
certificate: /path/to/cert
key: /path/to/key
```

72
config/mainnet/config.yml Normal file
View file

@ -0,0 +1,72 @@
node:
wallet:
path: <path/to/wallet>
address: <address-in-wallet>
password: <password>
addresses:
- <announced.address:port>
attribute_0: UN-LOCODE:<XX YYY>
attribute_1: Price:100000
attribute_2: User-Agent:NeoFS\/0.23
grpc:
num: 1
0:
endpoint: <listen.local.address:port>
tls:
enabled: false
storage:
shard_num: 1
shard:
0:
use_write_cache: false
metabase:
path: <storage-path>/metabase
perm: 0600
blobstor:
path: <storage-path>/blobstor
perm: 0600
blobovnicza:
opened_cache_size: 32
shallow_depth: 1
shallow_width: 1
gc:
remover_batch_size: 100
remover_sleep_interval: 1m
logger:
level: info
metrics:
address: 127.0.0.1:9090
shutdown_timeout: 15s
object:
put:
pool_size: 100
morph:
rpc_endpoint:
- https://rpc1.morph.fs.neo.org:40341
- https://rpc2.morph.fs.neo.org:40341
- https://rpc3.morph.fs.neo.org:40341
- https://rpc4.morph.fs.neo.org:40341
- https://rpc5.morph.fs.neo.org:40341
- https://rpc6.morph.fs.neo.org:40341
- https://rpc7.morph.fs.neo.org:40341
notification_endpoint:
- wss://rpc1.morph.fs.neo.org:40341/ws
- wss://rpc2.morph.fs.neo.org:40341/ws
- wss://rpc3.morph.fs.neo.org:40341/ws
- wss://rpc4.morph.fs.neo.org:40341/ws
- wss://rpc5.morph.fs.neo.org:40341/ws
- wss://rpc6.morph.fs.neo.org:40341/ws
- wss://rpc7.morph.fs.neo.org:40341/ws
dial_timeout: 20s
contracts:
balance: dc1ec98d9d0c5f9dfade16144defe08cffc5ca55
container: 1b6e68d299b570e1cb7e86eadfdc06aa2e8e0cc5
netmap: 7c5bdb23e36cc7cce95bf42f3ab9e452c2501df1
reputation: 7ad824fd1eeb1565be2cee3889214b9aa605d2fc

View file

@ -1,4 +1,4 @@
# N3 testnet RC3 storage node configuration # N3 Testnet Storage node configuration
There is a prepared configuration for NeoFS Storage Node deployment in There is a prepared configuration for NeoFS Storage Node deployment in
N3 testnet RC3. The easiest way to deploy Storage Node is to use prepared N3 testnet RC3. The easiest way to deploy Storage Node is to use prepared