forked from TrueCloudLab/frostfs-dev-env
[#2] Prepare environment for preview-3
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
585031f1ba
commit
a2df248141
14 changed files with 70 additions and 196 deletions
|
@ -1,48 +1,5 @@
|
|||
NEOFS_BOOTSTRAP_TIMES_PER_EPOCH=100
|
||||
NEOFS_MORPH_ENDPOINT=http://morph_chain.localtest.nspcc.ru:30333
|
||||
|
||||
NEOFS_NODE_OPTIONS_0=/Location:NorthAmerica/Country:US/City:NewYork
|
||||
NEOFS_NODE_OPTIONS_1=/Capacity:45
|
||||
NEOFS_NODE_OPTIONS_2=/Price:20.5
|
||||
|
||||
NEOFS_FSBUCKET_DIRECTORY=/storage/blob
|
||||
NEOFS_BOLTBUCKET_PATH=/storage/meta
|
||||
|
||||
NEOFS_REPLICATION_TIMEOUTS_TRANSPORT_PUT=300s
|
||||
NEOFS_REPLICATION_TIMEOUTS_TRANSPORT_GET=300s
|
||||
NEOFS_REPLICATION_TIMEOUTS_TRANSPORT_HEAD=150s
|
||||
NEOFS_REPLICATION_TIMEOUTS_TRANSPORT_SEARCH=150s
|
||||
NEOFS_REPLICATION_TIMEOUTS_TRANSPORT_RANGE_HASH=150s
|
||||
|
||||
NEOFS_OBJECT_PUT_TIMEOUT=300s
|
||||
NEOFS_OBJECT_PUT_LOG_ERRS=true
|
||||
NEOFS_OBJECT_GET_TIMEOUT=300s
|
||||
NEOFS_OBJECT_DELETE_TIMEOUT=150s
|
||||
NEOFS_OBJECT_HEAD_TIMEOUT=150s
|
||||
NEOFS_OBJECT_SEARCH_TIMEOUT=150s
|
||||
NEOFS_OBJECT_RANGE_TIMEOUT=150s
|
||||
NEOFS_OBJECT_RANGE_HASH_TIMEOUT=150s
|
||||
NEOFS_OBJECT_DIAL_TIMEOUT=60s
|
||||
# unlimited capacity for now
|
||||
NEOFS_OBJECT_STORAGE_CAPACITY=0
|
||||
|
||||
NEOFS_PLACEMENT_WEIGHT_INHERITANCE_ENABLED=true
|
||||
NEOFS_FSBUCKET_TREE_ENABLED=true
|
||||
# INFRA-50
|
||||
NEOFS_INNERRING_TIMERS_EPOCH=300s
|
||||
NEOFS_GOSSIP_SIMPLIFIED_MODE_ENABLED=false
|
||||
|
||||
NEOFS_METRICS_ENABLED=true
|
||||
NEOFS_METRICS_ADDRESS=:8180
|
||||
NEOFS_PPROF_ENABLED=true
|
||||
NEOFS_PPROF_ADDRESS=:6160
|
||||
|
||||
# Reputation timeouts
|
||||
NEOFS_REPUTATION_EIGENTRUST_WAIT_TIMEOUT=1m
|
||||
NEOFS_REPUTATION_EIGENTRUST_REPORT_TIMEOUT=1m
|
||||
NEOFS_REPUTATION_EIGENTRUST_TRANSPORT_CALL_TIMEOUT=10s
|
||||
|
||||
# Swarm tweaks
|
||||
NEOFS_SWARM_CONNECTIONS_IDLE=60m
|
||||
|
||||
NEOFS_OBJECT_PUT_LOG_ERRS=true
|
||||
NEOFS_PLUGINS_SENDNEOFS_KEYS_0=02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2
|
||||
NEOFS_ACCOUNTING_SCRIPTHASH=39ff7eb35bb6357ebed9f244f2aa72e8e7557eaf
|
||||
NEOFS_CONTAINER_SCRIPTHASH=4a445a72c5dba72c0c4e4634cff86c48dfe2c396
|
||||
NEOFS_NETMAP_SCRIPTHASH=f41ce4aceff0522ed6ce303c684fdddd690332a7
|
||||
|
|
|
@ -4,12 +4,8 @@ version: "2.4"
|
|||
services:
|
||||
|
||||
storage01:
|
||||
image: nspccdev/neofs-storage:${NODE_VERSION}
|
||||
image: ${NODE_IMAGE}:${NODE_VERSION}
|
||||
container_name: s01.localtest.nspcc.ru
|
||||
healthcheck:
|
||||
test: ["CMD", "neofs-node", "-health"]
|
||||
timeout: 10s
|
||||
retries: 50
|
||||
networks:
|
||||
storage_int:
|
||||
internet:
|
||||
|
@ -18,19 +14,13 @@ services:
|
|||
volumes: [ "./01.key:/01.key" ]
|
||||
env_file: [ ".env", ".storage.env" ]
|
||||
environment:
|
||||
- NEOFS_NODE_PRIVATE_KEY=/01.key
|
||||
- NEOFS_NODE_KEY=/01.key
|
||||
- NEOFS_NODE_ADDRESS=s01.localtest.nspcc.ru:8080
|
||||
- NEOFS_NODE_LOCATION=NorthAmerica
|
||||
- NEOFS_NODE_COUNTRY=US
|
||||
- NEOFS_NODE_CITY=NewYork
|
||||
- NEOFS_GRPC_ENDPOINT=s01.localtest.nspcc.ru:8080
|
||||
|
||||
storage02:
|
||||
image: nspccdev/neofs-storage:${NODE_VERSION}
|
||||
image: ${NODE_IMAGE}:${NODE_VERSION}
|
||||
container_name: s02.localtest.nspcc.ru
|
||||
healthcheck:
|
||||
test: ["CMD", "neofs-node", "-health"]
|
||||
timeout: 10s
|
||||
retries: 50
|
||||
networks:
|
||||
storage_int:
|
||||
internet:
|
||||
|
@ -39,19 +29,13 @@ services:
|
|||
volumes: [ "./02.key:/02.key" ]
|
||||
env_file: [ ".env", ".storage.env" ]
|
||||
environment:
|
||||
- NEOFS_NODE_PRIVATE_KEY=/02.key
|
||||
- NEOFS_NODE_KEY=/02.key
|
||||
- NEOFS_NODE_ADDRESS=s02.localtest.nspcc.ru:8080
|
||||
- NEOFS_NODE_LOCATION=Asia
|
||||
- NEOFS_NODE_COUNTRY=SG
|
||||
- NEOFS_NODE_CITY=Singapore
|
||||
- NEOFS_GRPC_ENDPOINT=s02.localtest.nspcc.ru:8080
|
||||
|
||||
storage03:
|
||||
image: nspccdev/neofs-storage:${NODE_VERSION}
|
||||
image: ${NODE_IMAGE}:${NODE_VERSION}
|
||||
container_name: s03.localtest.nspcc.ru
|
||||
healthcheck:
|
||||
test: ["CMD", "neofs-node", "-health"]
|
||||
timeout: 10s
|
||||
retries: 50
|
||||
networks:
|
||||
storage_int:
|
||||
internet:
|
||||
|
@ -60,19 +44,13 @@ services:
|
|||
volumes: [ "./03.key:/03.key" ]
|
||||
env_file: [ ".env", ".storage.env" ]
|
||||
environment:
|
||||
- NEOFS_NODE_PRIVATE_KEY=/03.key
|
||||
- NEOFS_NODE_KEY=/03.key
|
||||
- NEOFS_NODE_ADDRESS=s03.localtest.nspcc.ru:8080
|
||||
- NEOFS_NODE_LOCATION=Europe
|
||||
- NEOFS_NODE_COUNTRY=DE
|
||||
- NEOFS_NODE_CITY=Frankfurt
|
||||
- NEOFS_GRPC_ENDPOINT=s03.localtest.nspcc.ru:8080
|
||||
|
||||
storage04:
|
||||
image: nspccdev/neofs-storage:${NODE_VERSION}
|
||||
image: ${NODE_IMAGE}:${NODE_VERSION}
|
||||
container_name: s04.localtest.nspcc.ru
|
||||
healthcheck:
|
||||
test: ["CMD", "neofs-node", "-health"]
|
||||
timeout: 10s
|
||||
retries: 50
|
||||
networks:
|
||||
storage_int:
|
||||
internet:
|
||||
|
@ -81,23 +59,9 @@ services:
|
|||
volumes: [ "./04.key:/04.key" ]
|
||||
env_file: [ ".env", ".storage.env" ]
|
||||
environment:
|
||||
- NEOFS_NODE_PRIVATE_KEY=/04.key
|
||||
- NEOFS_NODE_ADDRESS=s04.localtest.nspcc.ru:8080
|
||||
- NEOFS_NODE_LOCATION=Europe
|
||||
- NEOFS_NODE_COUNTRY=GB
|
||||
- NEOFS_NODE_CITY=London
|
||||
|
||||
neofs-storage-healthy:
|
||||
image: alpine
|
||||
depends_on:
|
||||
storage01:
|
||||
condition: service_healthy
|
||||
storage02:
|
||||
condition: service_healthy
|
||||
storage03:
|
||||
condition: service_healthy
|
||||
storage04:
|
||||
condition: service_healthy
|
||||
- NEOFS_NODE_KEY=/04.key
|
||||
- NEOFS_NODE_ADDRESS=s04.localtest.nspcc.ru:8080
|
||||
- NEOFS_GRPC_ENDPOINT=s04.localtest.nspcc.ru:8080
|
||||
|
||||
networks:
|
||||
storage_int:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue