[#76] Describe updated configurations of IR and Node in env files

Update config values of IR and Node applications. All possible
configurations of Node app are reflected in env.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
wallet-connect
Leonard Lyubich 2021-05-13 19:28:46 +03:00 committed by Alex Vanin
parent 72f4a463e5
commit 22bdc6ccf6
2 changed files with 86 additions and 8 deletions

View File

@ -1,6 +1,20 @@
NEOFS_IR_LOGGER_LEVEL=debug
NEOFS_IR_METRICS_ENABLED=true
NEOFS_IR_PPROF_ENABLED=true
# Profiler section
## Server address. Empty value disables profiler
## Default: <empty> (disabled)
NEOFS_IR_PROFILER_ADDRESS=:6060
## Timeout to shut down the HTTP server
## Default: 30s
#NEOFS_IR_PROFILER_SHUTDOWN_TIMEOUT=1m
# Application metrics section
## Server address. Empty value disables metrics gathering
## Default: <empty> (disabled)
NEOFS_IR_METRICS_ADDRESS=:6060
## Timeout to shut down the HTTP server
## Default: 30s
#NEOFS_IR_METRICS_SHUTDOWN_TIMEOUT=1m
# Toggling the sidechain-only mode
NEOFS_IR_WITHOUT_MAINNET=false

View File

@ -1,18 +1,82 @@
# Logger section
## Minimum enabled logging level
## Default: info
NEOFS_LOGGER_LEVEL=debug
NEOFS_MORPH_RPC_ENDPOINT=http://morph_chain:30333
NEOFS_MORPH_NOTIFICATION_ENDPOINT=ws://morph_chain:30333/ws
# Profiler section
## Server address. Empty value disables profiler
## Default: <empty> (disabled)
NEOFS_PROFILER_ADDRESS=:6060
## Timeout to shut down the HTTP server
## Default: 30s
#NEOFS_PROFILER_SHUTDOWN_TIMEOUT=1m
# Application metrics section
## Server address. Empty value disables metrics gathering
## Default: <empty> (disabled)
NEOFS_METRICS_ADDRESS=:6060
## Timeout to shut down the HTTP server
## Default: 30s
#NEOFS_METRICS_SHUTDOWN_TIMEOUT=1m
# Morph section
## Endpoints of sidechain RPC nodes (comma-separated)
## Default: empty list (invalid)
NEOFS_MORPH_RPC_ENDPOINT=http://morph_chain:30333
## Endpoints of sidechain notifications (comma-separated)
## Default: empty list (invalid)
NEOFS_MORPH_NOTIFICATION_ENDPOINT=ws://morph_chain:30333/ws
## Dial timeout to connect to notification endpoint
## Default: 5s
#NEOFS_MORPH_DIAL_TIMEOUT=1m
# Main chain section
## Endpoints of main chain RPC nodes (comma-separated)
## Default: empty list
NEOFS_MAINCHAIN_RPC_ENDPOINT=http://morph_chain:30333
## Dial timeout to connect to main chain RPC node
## Default: 5s
#NEOFS_MAINCHAIN_DIAL_TIMEOUT=1m
# Cache of API clients section
## Dial timeout to connect to remote API server
## Default: 5s
#NEOFS_APICLIENT_DIAL_TIMEOUT=1m
# Accounting section
## Address of Balance smart contract
## Default: empty (invalid)
NEOFS_ACCOUNTING_SCRIPTHASH=fc2806708bd47aac9a7281d192b48734744964a3
# Container section
## Address of Container smart contract
## Default: empty (invalid)
NEOFS_CONTAINER_SCRIPTHASH=ef3c00e70627c9074cdb8cbbabd47589ea3ef5a7
# Netmap section
## Address of Netmap smart contract
## Default: empty (invalid)
NEOFS_NETMAP_SCRIPTHASH=2bba4d50397cf5a940fc44e2a4ca6e9f9ba6e485
# Reputation section
## Address of Reputation smart contract
## Default: empty (invalid)
NEOFS_REPUTATION_SCRIPTHASH=01f82a9808ed522b43148ac302f338202c876daf
NEOFS_BOOTSTRAP_PERIODIC_ENABLED=true
# Object section
## Worker pool capacity of API Object.Put client calls
## Default: 10
#NEOFS_OBJECT_PUT_POOL_SIZE=100
# Application metrics
NEOFS_METRICS_ENABLED=true
NEOFS_METRICS_ADDRESS=:9090
# Policer section
## Timeout of Object.Head calls by Policer
## Default: 5s
#NEOFS_POLICER_HEAD_TIMEOUT=1m
# Replicator section
## Timeout of Object.Put calls by Replicator
## Default: 5s
#NEOFS_REPLICATOR_PUT_TIMEOUT=1m
# Storage engine configuration