2021-05-13 16:28:46 +00:00
|
|
|
# Logger section
|
|
|
|
## Minimum enabled logging level
|
|
|
|
## Default: info
|
2021-04-23 14:33:50 +00:00
|
|
|
NEOFS_LOGGER_LEVEL=debug
|
|
|
|
|
2021-05-13 16:28:46 +00:00
|
|
|
# Profiler section
|
2022-07-20 12:36:43 +00:00
|
|
|
NEOFS_PPROF_ENABLED=true
|
2021-05-13 16:28:46 +00:00
|
|
|
## Server address. Empty value disables profiler
|
2022-07-20 12:36:43 +00:00
|
|
|
NEOFS_PPROF_ADDRESS=:6060
|
2021-05-13 16:28:46 +00:00
|
|
|
## Timeout to shut down the HTTP server
|
|
|
|
## Default: 30s
|
|
|
|
#NEOFS_PROFILER_SHUTDOWN_TIMEOUT=1m
|
|
|
|
|
|
|
|
# Application metrics section
|
2022-07-20 12:36:43 +00:00
|
|
|
NEOFS_PROMETHEUS_ENABLED=true
|
2021-05-13 16:28:46 +00:00
|
|
|
## Server address. Empty value disables metrics gathering
|
2022-07-20 12:36:43 +00:00
|
|
|
NEOFS_PROMETHEUS_ADDRESS=:9090
|
2021-05-13 16:28:46 +00:00
|
|
|
## 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)
|
2022-07-20 12:36:43 +00:00
|
|
|
NEOFS_MORPH_RPC_ENDPOINT_0_ADDRESS=ws://morph-chain:30333/ws
|
2021-05-13 16:28:46 +00:00
|
|
|
## Dial timeout to connect to notification endpoint
|
|
|
|
## Default: 5s
|
|
|
|
#NEOFS_MORPH_DIAL_TIMEOUT=1m
|
2021-08-06 16:43:28 +00:00
|
|
|
# Disable side chain caches
|
|
|
|
#NEOFS_MORPH_DISABLE_CACHE=true
|
2021-05-13 16:28:46 +00:00
|
|
|
|
|
|
|
# Cache of API clients section
|
|
|
|
## Dial timeout to connect to remote API server
|
|
|
|
## Default: 5s
|
|
|
|
#NEOFS_APICLIENT_DIAL_TIMEOUT=1m
|
2020-07-10 15:14:30 +00:00
|
|
|
|
2021-08-06 16:43:28 +00:00
|
|
|
# Common storage node attribute
|
2021-11-02 15:29:20 +00:00
|
|
|
NEOFS_NODE_ATTRIBUTE_0=User-Agent:NeoFS\/0.26
|
2021-08-06 16:43:28 +00:00
|
|
|
|
2022-02-21 12:30:12 +00:00
|
|
|
NEOFS_NODE_NOTIFICATION_ENABLED=true
|
|
|
|
NEOFS_NODE_NOTIFICATION_ENDPOINT=tls://nats.neofs.devenv:4222
|
|
|
|
NEOFS_NODE_NOTIFICATION_DEFAULT_TOPIC=test
|
|
|
|
NEOFS_NODE_NOTIFICATION_CERTIFICATE=/etc/neofs-node/nats.tls.cert
|
|
|
|
NEOFS_NODE_NOTIFICATION_KEY=/etc/neofs-node/nats.tls.key
|
|
|
|
NEOFS_NODE_NOTIFICATION_CA=/etc/neofs-node/nats.ca.crt
|
|
|
|
|
2021-05-13 16:28:46 +00:00
|
|
|
# Object section
|
|
|
|
## Worker pool capacity of API Object.Put client calls
|
|
|
|
## Default: 10
|
2021-09-15 14:11:20 +00:00
|
|
|
#NEOFS_OBJECT_PUT_POOL_SIZE_REMOTE=100
|
|
|
|
#NEOFS_OBJECT_PUT_POOL_SIZE_LOCAL=100
|
2021-05-13 16:28:46 +00:00
|
|
|
|
|
|
|
# Policer section
|
|
|
|
## Timeout of Object.Head calls by Policer
|
|
|
|
## Default: 5s
|
|
|
|
#NEOFS_POLICER_HEAD_TIMEOUT=1m
|
2020-12-11 12:16:36 +00:00
|
|
|
|
2021-05-13 16:28:46 +00:00
|
|
|
# Replicator section
|
|
|
|
## Timeout of Object.Put calls by Replicator
|
|
|
|
## Default: 5s
|
|
|
|
#NEOFS_REPLICATOR_PUT_TIMEOUT=1m
|
2021-03-22 12:14:55 +00:00
|
|
|
|
2020-12-11 12:16:36 +00:00
|
|
|
# Storage engine configuration
|
2021-11-02 15:29:20 +00:00
|
|
|
|
|
|
|
## Default config for all shards
|
2020-12-11 12:16:36 +00:00
|
|
|
### Write cache config
|
2022-07-20 12:36:43 +00:00
|
|
|
NEOFS_STORAGE_SHARD_DEFAULT_WRITECACHE_ENABLED=false
|
2020-12-11 12:16:36 +00:00
|
|
|
### Metabase config
|
2022-07-20 12:36:43 +00:00
|
|
|
NEOFS_STORAGE_SHARD_DEFAULT_METABASE_PERM=0700
|
2020-12-11 12:16:36 +00:00
|
|
|
### Blobstor config
|
2022-07-20 12:36:43 +00:00
|
|
|
NEOFS_STORAGE_SHARD_DEFAULT_BLOBSTOR_PERM=0700
|
|
|
|
NEOFS_STORAGE_SHARD_DEFAULT_BLOBSTOR_DEPTH=4
|
|
|
|
NEOFS_STORAGE_SHARD_DEFAULT_BLOBSTOR_COMPRESS=true
|
|
|
|
NEOFS_STORAGE_SHARD_DEFAULT_BLOBSTOR_SMALL_OBJECT_SIZE=102400
|
2020-12-11 12:16:36 +00:00
|
|
|
### Blobovnicza config
|
2022-07-20 12:36:43 +00:00
|
|
|
NEOFS_STORAGE_SHARD_DEFAULT_BLOBSTOR_BLOBOVNICZA_SIZE=134217728 # 128 * 1024 *1024
|
|
|
|
NEOFS_STORAGE_SHARD_DEFAULT_BLOBSTOR_BLOBOVNICZA_DEPTH=1
|
|
|
|
NEOFS_STORAGE_SHARD_DEFAULT_BLOBSTOR_BLOBOVNICZA_WIDTH=2
|
|
|
|
NEOFS_STORAGE_SHARD_DEFAULT_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_CAPACITY=50
|
2021-03-01 16:42:19 +00:00
|
|
|
### GC config
|
2021-07-09 08:22:01 +00:00
|
|
|
#### Limit of the single data remover's batching operation in number of objects
|
2022-07-20 12:36:43 +00:00
|
|
|
NEOFS_STORAGE_SHARD_DEFAULT_GC_REMOVER_BATCH_SIZE=100
|
2021-03-01 16:42:19 +00:00
|
|
|
#### Sleep interval between data remover tacts
|
2022-07-20 12:36:43 +00:00
|
|
|
NEOFS_STORAGE_SHARD_DEFAULT_GC_REMOVER_SLEEP_INTERVAL=1m
|
2021-11-02 15:29:20 +00:00
|
|
|
|
|
|
|
## First shard
|
|
|
|
### Metabase config
|
|
|
|
NEOFS_STORAGE_SHARD_0_METABASE_PATH=/storage/meta0
|
|
|
|
### Blobstor config
|
|
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_PATH=/storage/blobstor0
|
2020-12-11 12:16:36 +00:00
|
|
|
|
|
|
|
## Second shard
|
|
|
|
### Metabase config
|
|
|
|
NEOFS_STORAGE_SHARD_1_METABASE_PATH=/storage/meta1
|
|
|
|
### Blobstor config
|
|
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_PATH=/storage/blobstor1
|