forked from TrueCloudLab/frostfs-dev-env
ebc0f96b2f
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
125 lines
4 KiB
Bash
125 lines
4 KiB
Bash
# Logger section
|
|
## Minimum enabled logging level
|
|
## Default: info
|
|
NEOFS_LOGGER_LEVEL=debug
|
|
|
|
# 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=:9090
|
|
## 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=dbd80d328730f4b1f61a61d5e224fc259cfa43fd
|
|
|
|
# Container section
|
|
## Address of Container smart contract
|
|
## Default: empty (invalid)
|
|
NEOFS_CONTAINER_SCRIPTHASH=b02ca40cede22a2feb6cdcf951d48223f586525a
|
|
|
|
# Netmap section
|
|
## Address of Netmap smart contract
|
|
## Default: empty (invalid)
|
|
NEOFS_NETMAP_SCRIPTHASH=f08bf0d63bebad4be0e07c94cdf6fcd783a69a3f
|
|
|
|
# Reputation section
|
|
## Address of Reputation smart contract
|
|
## Default: empty (invalid)
|
|
NEOFS_REPUTATION_SCRIPTHASH=a0c48efa9eaed7705d717789b9b66ad037d7b60c
|
|
|
|
# Object section
|
|
## Worker pool capacity of API Object.Put client calls
|
|
## Default: 10
|
|
#NEOFS_OBJECT_PUT_POOL_SIZE=100
|
|
|
|
# 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
|
|
|
|
## First shard
|
|
### Write cache config
|
|
NEOFS_STORAGE_SHARD_0_USE_WRITE_CACHE=false
|
|
### Metabase config
|
|
NEOFS_STORAGE_SHARD_0_METABASE_PATH=/storage/meta0
|
|
NEOFS_STORAGE_SHARD_0_METABASE_PERM=0700
|
|
### Blobstor config
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_PATH=/storage/blobstor0
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_PERM=0700
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_SHALLOW_DEPTH=4
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_COMPRESS=true
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_SMALL_SIZE_LIMIT=102400
|
|
### Blobovnicza config
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SIZE=4194304
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SHALLOW_DEPTH=2
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SHALLOW_WIDTH=4
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_SIZE=50
|
|
### GC config
|
|
#### Limit of the single data remover's batching operation in number of objects
|
|
NEOFS_STORAGE_SHARD_0_GC_REMOVER_BATCH_SIZE=100
|
|
#### Sleep interval between data remover tacts
|
|
NEOFS_STORAGE_SHARD_0_GC_REMOVER_SLEEP_INTERVAL=1m
|
|
|
|
## Second shard
|
|
### Write cache config
|
|
NEOFS_STORAGE_SHARD_1_USE_WRITE_CACHE=false
|
|
### Metabase config
|
|
NEOFS_STORAGE_SHARD_1_METABASE_PATH=/storage/meta1
|
|
NEOFS_STORAGE_SHARD_1_METABASE_PERM=0700
|
|
### Blobstor config
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_PATH=/storage/blobstor1
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_PERM=0700
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_COMPRESS=true
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_SHALLOW_DEPTH=4
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_SMALL_SIZE_LIMIT=102400
|
|
### Blobovnicza config
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SIZE=4194304
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SHALLOW_DEPTH=2
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SHALLOW_WIDTH=4
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_SIZE=50
|
|
### GC config
|
|
NEOFS_STORAGE_SHARD_1_GC_REMOVER_BATCH_SIZE=100
|
|
NEOFS_STORAGE_SHARD_1_GC_REMOVER_SLEEP_INTERVAL=1m
|