2021-06-01 11:12:25 +00:00
|
|
|
NEOFS_LOGGER_LEVEL=debug
|
|
|
|
|
|
|
|
NEOFS_PROFILER_ADDRESS=127.0.0.1:6060
|
2021-06-01 11:20:03 +00:00
|
|
|
NEOFS_PROFILER_SHUTDOWN_TIMEOUT=15s
|
|
|
|
|
|
|
|
NEOFS_METRICS_ADDRESS=127.0.0.1:9090
|
2021-06-01 18:24:01 +00:00
|
|
|
NEOFS_METRICS_SHUTDOWN_TIMEOUT=15s
|
|
|
|
|
2021-06-01 17:42:57 +00:00
|
|
|
# Node section
|
2021-06-03 15:24:09 +00:00
|
|
|
NEOFS_NODE_KEY=./wallet.key
|
2021-05-31 08:55:38 +00:00
|
|
|
NEOFS_NODE_WALLET_PATH=./wallet.json
|
|
|
|
NEOFS_NODE_WALLET_ADDRESS=NcpJzXcSDrh5CCizf4K9Ro6w4t59J5LKzz
|
|
|
|
NEOFS_NODE_WALLET_PASSWORD=password
|
2021-10-20 12:42:15 +00:00
|
|
|
NEOFS_NODE_ADDRESSES="s01.neofs.devenv:8080 /dns4/s02.neofs.devenv/tcp/8081 grpc://127.0.0.1:8082 grpcs://localhost:8083"
|
2021-06-01 17:42:57 +00:00
|
|
|
NEOFS_NODE_ATTRIBUTE_0=Price:11
|
2021-10-20 12:42:15 +00:00
|
|
|
NEOFS_NODE_ATTRIBUTE_1="UN-LOCODE:RU MSK"
|
2021-06-01 17:42:57 +00:00
|
|
|
NEOFS_NODE_RELAY=true
|
2022-03-21 12:22:07 +00:00
|
|
|
NEOFS_NODE_PERSISTENT_SESSIONS_PATH=/sessions
|
2021-09-06 13:03:43 +00:00
|
|
|
NEOFS_NODE_PERSISTENT_STATE_PATH=/state
|
2021-11-28 12:06:07 +00:00
|
|
|
NEOFS_NODE_SUBNET_EXIT_ZERO=true
|
|
|
|
NEOFS_NODE_SUBNET_ENTRIES=123 456 789
|
2022-02-17 12:42:32 +00:00
|
|
|
NEOFS_NODE_NOTIFICATION_ENABLED=true
|
2021-03-01 11:55:03 +00:00
|
|
|
NEOFS_NODE_NOTIFICATION_ENDPOINT=tls://localhost:4222
|
|
|
|
NEOFS_NODE_NOTIFICATION_TIMEOUT=6s
|
2022-02-17 12:42:32 +00:00
|
|
|
NEOFS_NODE_NOTIFICATION_DEFAULT_TOPIC=topic
|
2021-03-01 11:55:03 +00:00
|
|
|
NEOFS_NODE_NOTIFICATION_CERTIFICATE=/cert/path
|
|
|
|
NEOFS_NODE_NOTIFICATION_KEY=/key/path
|
|
|
|
NEOFS_NODE_NOTIFICATION_CA=/ca/path
|
2021-06-01 18:24:01 +00:00
|
|
|
|
2021-06-01 18:50:01 +00:00
|
|
|
# gRPC section
|
2021-06-22 17:25:18 +00:00
|
|
|
## 0 server
|
|
|
|
NEOFS_GRPC_0_ENDPOINT=s01.neofs.devenv:8080
|
|
|
|
### TLS config
|
|
|
|
NEOFS_GRPC_0_TLS_ENABLED=true
|
|
|
|
NEOFS_GRPC_0_TLS_CERTIFICATE=/path/to/cert
|
|
|
|
NEOFS_GRPC_0_TLS_KEY=/path/to/key
|
|
|
|
|
|
|
|
## 1 server
|
|
|
|
NEOFS_GRPC_1_ENDPOINT=s02.neofs.devenv:8080
|
|
|
|
### TLS config
|
|
|
|
NEOFS_GRPC_1_TLS_ENABLED=false
|
2021-06-01 18:50:01 +00:00
|
|
|
|
2021-06-01 13:28:30 +00:00
|
|
|
# Control service section
|
2021-10-20 12:42:15 +00:00
|
|
|
NEOFS_CONTROL_AUTHORIZED_KEYS="035839e45d472a3b7769a2a1bd7d54c4ccd4943c3b40f547870e83a8fcbfb3ce11 028f42cfcb74499d7b15b35d9bff260a1c8d27de4f446a627406a382d8961486d6"
|
2021-06-01 13:28:30 +00:00
|
|
|
NEOFS_CONTROL_GRPC_ENDPOINT=127.0.0.1:8090
|
|
|
|
|
2021-06-01 12:51:28 +00:00
|
|
|
# Contracts section
|
|
|
|
NEOFS_CONTRACTS_BALANCE=5263abba1abedbf79bb57f3e40b50b4425d2d6cd
|
|
|
|
NEOFS_CONTRACTS_CONTAINER=5d084790d7aa36cea7b53fe897380dab11d2cd3c
|
|
|
|
NEOFS_CONTRACTS_NETMAP=0cce9e948dca43a6b592efe59ddb4ecb89bdd9ca
|
|
|
|
NEOFS_CONTRACTS_REPUTATION=441995f631c1da2b133462b71859494a5cd45e90
|
2021-08-24 12:59:28 +00:00
|
|
|
NEOFS_CONTRACTS_PROXY=ad7c6b55b737b696e5c82c85445040964a03e97f
|
2021-06-01 12:51:28 +00:00
|
|
|
|
2021-06-01 14:33:45 +00:00
|
|
|
# Morph chain section
|
|
|
|
NEOFS_MORPH_DIAL_TIMEOUT=30s
|
2021-07-29 14:57:17 +00:00
|
|
|
NEOFS_MORPH_DISABLE_CACHE=true
|
2022-02-10 16:47:26 +00:00
|
|
|
NEOFS_MORPH_RPC_ENDPOINT="wss://rpc1.morph.fs.neo.org:40341/ws wss://rpc2.morph.fs.neo.org:40341/ws"
|
2021-06-01 14:33:45 +00:00
|
|
|
|
2021-06-01 14:47:19 +00:00
|
|
|
# Main chain section (optional)
|
|
|
|
NEOFS_MAINCHAIN_DIAL_TIMEOUT=30s
|
2021-10-20 12:42:15 +00:00
|
|
|
NEOFS_MAINCHAIN_RPC_ENDPOINT="https://rpc1.n3.nspcc.ru:30341 https://rpc2.n3.nspcc.ru:30341"
|
2021-06-01 14:47:19 +00:00
|
|
|
|
2021-06-02 12:20:05 +00:00
|
|
|
# API Client section
|
|
|
|
NEOFS_APICLIENT_DIAL_TIMEOUT=15s
|
|
|
|
|
2021-06-02 12:23:41 +00:00
|
|
|
# Policer section
|
|
|
|
NEOFS_POLICER_HEAD_TIMEOUT=15s
|
|
|
|
|
2021-06-02 12:26:51 +00:00
|
|
|
# Replicator section
|
|
|
|
NEOFS_REPLICATOR_PUT_TIMEOUT=15s
|
|
|
|
|
2021-06-02 12:31:29 +00:00
|
|
|
# Object service section
|
2021-09-24 10:50:25 +00:00
|
|
|
NEOFS_OBJECT_PUT_POOL_SIZE_REMOTE=100
|
2021-06-02 12:31:29 +00:00
|
|
|
|
2021-06-01 18:24:01 +00:00
|
|
|
# Storage engine section
|
2021-10-08 13:25:56 +00:00
|
|
|
NEOFS_STORAGE_SHARD_POOL_SIZE=15
|
2022-02-01 08:15:54 +00:00
|
|
|
NEOFS_STORAGE_SHARD_RO_ERROR_THRESHOLD=100
|
2021-06-01 18:24:01 +00:00
|
|
|
## 0 shard
|
2021-09-13 13:58:37 +00:00
|
|
|
### Flag to refill Metabase from BlobStor
|
2021-10-18 14:03:09 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_RESYNC_METABASE=false
|
2021-12-27 11:04:46 +00:00
|
|
|
### Flag to set shard mode
|
|
|
|
NEOFS_STORAGE_SHARD_0_MODE=read-only
|
2021-06-01 18:24:01 +00:00
|
|
|
### Write cache config
|
2022-01-27 11:30:19 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_WRITECACHE_ENABLED=false
|
2021-06-01 18:24:01 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_WRITECACHE_PATH=tmp/0/cache
|
2021-10-18 14:17:14 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_WRITECACHE_MEMCACHE_CAPACITY=2147483648
|
2021-10-18 14:05:42 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_WRITECACHE_SMALL_OBJECT_SIZE=16384
|
2021-10-18 14:12:03 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_WRITECACHE_MAX_OBJECT_SIZE=134217728
|
2021-07-22 13:10:45 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_WRITECACHE_WORKERS_NUMBER=30
|
2021-10-18 14:29:30 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_WRITECACHE_CAPACITY=3221225472
|
2021-06-01 18:24:01 +00:00
|
|
|
### Metabase config
|
|
|
|
NEOFS_STORAGE_SHARD_0_METABASE_PATH=tmp/0/meta
|
2021-07-22 13:10:45 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_METABASE_PERM=0644
|
2022-06-15 06:59:51 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_METABASE_MAX_BATCH_SIZE=100
|
|
|
|
NEOFS_STORAGE_SHARD_0_METABASE_MAX_BATCH_DELAY=10ms
|
2021-06-01 18:24:01 +00:00
|
|
|
### Blobstor config
|
|
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_PATH=tmp/0/blob
|
2021-07-22 13:10:45 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_PERM=0644
|
2021-06-01 18:24:01 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_COMPRESS=true
|
2022-01-10 12:46:01 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_COMPRESSION_EXCLUDE_CONTENT_TYPES="audio/* video/*"
|
2021-10-18 14:20:03 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_DEPTH=5
|
2021-10-18 14:05:42 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_SMALL_OBJECT_SIZE=102400
|
2021-06-01 18:24:01 +00:00
|
|
|
### Blobovnicza config
|
2021-07-22 13:10:45 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SIZE=4194304
|
2021-10-18 14:20:03 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_DEPTH=1
|
|
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_WIDTH=4
|
2021-10-18 14:08:01 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_CAPACITY=50
|
2022-06-09 08:09:18 +00:00
|
|
|
### Pilorama config
|
|
|
|
NEOFS_STORAGE_SHARD_0_PILORAMA_PATH="tmp/0/blob/pilorama.db"
|
|
|
|
NEOFS_STORAGE_SHARD_0_PILORAMA_MAX_BATCH_DELAY=10ms
|
|
|
|
NEOFS_STORAGE_SHARD_0_PILORAMA_MAX_BATCH_SIZE=200
|
2021-06-01 18:24:01 +00:00
|
|
|
### GC config
|
|
|
|
#### Limit of the single data remover's batching operation in number of objects
|
2021-07-22 13:10:45 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_GC_REMOVER_BATCH_SIZE=150
|
2021-06-01 18:24:01 +00:00
|
|
|
#### Sleep interval between data remover tacts
|
2021-07-22 13:10:45 +00:00
|
|
|
NEOFS_STORAGE_SHARD_0_GC_REMOVER_SLEEP_INTERVAL=2m
|
2021-06-01 18:24:01 +00:00
|
|
|
|
|
|
|
## 1 shard
|
2021-09-13 13:58:37 +00:00
|
|
|
### Flag to refill Metabase from BlobStor
|
2021-10-18 14:03:09 +00:00
|
|
|
NEOFS_STORAGE_SHARD_1_RESYNC_METABASE=true
|
2021-12-27 11:04:46 +00:00
|
|
|
### Flag to set shard mode
|
|
|
|
NEOFS_STORAGE_SHARD_1_MODE=read-write
|
2021-06-01 18:24:01 +00:00
|
|
|
### Write cache config
|
2022-01-27 11:30:19 +00:00
|
|
|
NEOFS_STORAGE_SHARD_1_WRITECACHE_ENABLED=true
|
2021-06-01 18:24:01 +00:00
|
|
|
NEOFS_STORAGE_SHARD_1_WRITECACHE_PATH=tmp/1/cache
|
2021-10-18 14:17:14 +00:00
|
|
|
NEOFS_STORAGE_SHARD_1_WRITECACHE_MEMCACHE_CAPACITY=2147483648
|
2021-10-18 14:05:42 +00:00
|
|
|
NEOFS_STORAGE_SHARD_1_WRITECACHE_SMALL_OBJECT_SIZE=16384
|
2021-10-18 14:12:03 +00:00
|
|
|
NEOFS_STORAGE_SHARD_1_WRITECACHE_MAX_OBJECT_SIZE=134217728
|
2021-07-22 13:10:45 +00:00
|
|
|
NEOFS_STORAGE_SHARD_1_WRITECACHE_WORKERS_NUMBER=30
|
2021-10-18 14:29:30 +00:00
|
|
|
NEOFS_STORAGE_SHARD_1_WRITECACHE_CAPACITY=4294967296
|
2021-06-01 18:24:01 +00:00
|
|
|
### Metabase config
|
|
|
|
NEOFS_STORAGE_SHARD_1_METABASE_PATH=tmp/1/meta
|
2021-07-22 13:10:45 +00:00
|
|
|
NEOFS_STORAGE_SHARD_1_METABASE_PERM=0644
|
2022-06-15 06:59:51 +00:00
|
|
|
NEOFS_STORAGE_SHARD_1_METABASE_MAX_BATCH_SIZE=200
|
|
|
|
NEOFS_STORAGE_SHARD_1_METABASE_MAX_BATCH_DELAY=20ms
|
2021-06-01 18:24:01 +00:00
|
|
|
### Blobstor config
|
|
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_PATH=tmp/1/blob
|
2021-07-22 13:10:45 +00:00
|
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_PERM=0644
|
2021-06-01 18:24:01 +00:00
|
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_COMPRESS=false
|
2021-10-18 14:20:03 +00:00
|
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_DEPTH=5
|
2021-10-18 14:05:42 +00:00
|
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_SMALL_OBJECT_SIZE=102400
|
2021-06-01 18:24:01 +00:00
|
|
|
### Blobovnicza config
|
2021-07-22 13:10:45 +00:00
|
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SIZE=4194304
|
2021-10-18 14:20:03 +00:00
|
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_DEPTH=1
|
|
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_WIDTH=4
|
2021-10-18 14:08:01 +00:00
|
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_CAPACITY=50
|
2022-06-09 08:09:18 +00:00
|
|
|
### Pilorama config
|
|
|
|
NEOFS_STORAGE_SHARD_1_PILORAMA_PATH="tmp/1/blob/pilorama.db"
|
|
|
|
NEOFS_STORAGE_SHARD_1_PILORAMA_PERM=0644
|
|
|
|
NEOFS_STORAGE_SHARD_1_PILORAMA_NO_SYNC=true
|
|
|
|
NEOFS_STORAGE_SHARD_1_PILORAMA_MAX_BATCH_DELAY=5ms
|
|
|
|
NEOFS_STORAGE_SHARD_1_PILORAMA_MAX_BATCH_SIZE=100
|
2021-06-01 18:24:01 +00:00
|
|
|
### GC config
|
2021-07-22 13:10:45 +00:00
|
|
|
#### Limit of the single data remover's batching operation in number of objects
|
|
|
|
NEOFS_STORAGE_SHARD_1_GC_REMOVER_BATCH_SIZE=200
|
|
|
|
#### Sleep interval between data remover tacts
|
|
|
|
NEOFS_STORAGE_SHARD_1_GC_REMOVER_SLEEP_INTERVAL=5m
|