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
|
|
|
|
## 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)
|
2021-05-17 07:25:47 +00:00
|
|
|
NEOFS_METRICS_ADDRESS=:9090
|
2021-05-13 16:28:46 +00:00
|
|
|
## Timeout to shut down the HTTP server
|
|
|
|
## Default: 30s
|
|
|
|
#NEOFS_METRICS_SHUTDOWN_TIMEOUT=1m
|
|
|
|
|
2021-06-29 11:11:39 +00:00
|
|
|
# GRPC Transport Section
|
|
|
|
NEOFS_GRPC_NUM=1
|
|
|
|
|
2021-05-13 16:28:46 +00:00
|
|
|
# Morph section
|
|
|
|
## Endpoints of sidechain RPC nodes (comma-separated)
|
|
|
|
## Default: empty list (invalid)
|
2021-01-15 15:28:55 +00:00
|
|
|
NEOFS_MORPH_RPC_ENDPOINT=http://morph_chain:30333
|
2021-05-13 16:28:46 +00:00
|
|
|
## Endpoints of sidechain notifications (comma-separated)
|
|
|
|
## Default: empty list (invalid)
|
2020-11-18 12:54:54 +00:00
|
|
|
NEOFS_MORPH_NOTIFICATION_ENDPOINT=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
|
|
|
|
|
|
|
|
# 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
|
2020-07-10 15:14:30 +00:00
|
|
|
|
2021-06-02 13:30:30 +00:00
|
|
|
# Contracts section.
|
2021-07-09 08:22:01 +00:00
|
|
|
## Adresses of sidechain contracts.
|
2021-06-02 13:30:30 +00:00
|
|
|
## Defaults: empty (invalid)
|
2021-07-23 10:26:23 +00:00
|
|
|
NEOFS_CONTRACTS_BALANCE=e20b7b53cff0d928ffc5d228c95f90a4d1e4eea8
|
|
|
|
NEOFS_CONTRACTS_CONTAINER=92c2e316c3ee3cb8993dd0b70ad863e6a23e1cb3
|
|
|
|
NEOFS_CONTRACTS_NETMAP=7d089f3e06749fdff9be6d01a7913a643fd02bf6
|
|
|
|
NEOFS_CONTRACTS_REPUTATION=eca6ab6c8a2c37c3e2468b5472298c19002dba01
|
2020-11-17 16:02:38 +00:00
|
|
|
|
2021-05-13 16:28:46 +00:00
|
|
|
# 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
|
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-06-02 13:30:30 +00:00
|
|
|
## Number of shards
|
|
|
|
## Default: 0 (invalid)
|
|
|
|
NEOFS_STORAGE_SHARD_NUM=2
|
2020-12-11 12:16:36 +00:00
|
|
|
## 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
|
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
|
2021-03-01 16:42:19 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_GC_REMOVER_BATCH_SIZE=100
|
|
|
|
#### Sleep interval between data remover tacts
|
|
|
|
NEOFS_STORAGE_SHARD_0_GC_REMOVER_SLEEP_INTERVAL=1m
|
2020-12-11 12:16:36 +00:00
|
|
|
|
|
|
|
## 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
|
2021-03-01 16:42:19 +00:00
|
|
|
### GC config
|
|
|
|
NEOFS_STORAGE_SHARD_1_GC_REMOVER_BATCH_SIZE=100
|
|
|
|
NEOFS_STORAGE_SHARD_1_GC_REMOVER_SLEEP_INTERVAL=1m
|