From 236878ebe80e54efe94350d8d98c0c8f6f81a3e3 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Wed, 13 Sep 2023 21:48:22 +0300 Subject: [PATCH] storage: fix s02 volumes Error response from daemon: invalid mount config for type "volume": invalid mount path: 'NEOFS_STORAGE_SHARD_0_RESYNC_METABASE=false' mount path must be absolute Signed-off-by: Roman Khimov --- services/storage/docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/storage/docker-compose.yml b/services/storage/docker-compose.yml index 9f20829..8480019 100644 --- a/services/storage/docker-compose.yml +++ b/services/storage/docker-compose.yml @@ -64,8 +64,6 @@ services: - ../nats/client-key.pem:/etc/neofs-node/nats.tls.key - ../nats/ca-cert.pem:/etc/neofs-node/nats.ca.crt - ./cfg:/etc/neofs/storage - - NEOFS_STORAGE_SHARD_0_RESYNC_METABASE=${RESYNC_METABASE} - - NEOFS_STORAGE_SHARD_1_RESYNC_METABASE=${RESYNC_METABASE} stop_signal: SIGKILL env_file: [ ".env", ".storage.env", ".int_test.env" ] command: [ "neofs-node", "--config", "/etc/neofs/storage/config.yml" ] @@ -77,6 +75,8 @@ services: - NEOFS_CONTROL_GRPC_ENDPOINT=${NEOFS_STORAGE_CONTROL_GRPC_ENDPOINT_2} - NEOFS_NODE_ATTRIBUTE_0=UN-LOCODE:RU LED - NEOFS_NODE_ATTRIBUTE_1=Price:33 + - NEOFS_STORAGE_SHARD_0_RESYNC_METABASE=${RESYNC_METABASE} + - NEOFS_STORAGE_SHARD_1_RESYNC_METABASE=${RESYNC_METABASE} healthcheck: test: ["CMD", "/neofs-cli", "control", "healthcheck", "-c", "/cli-cfg.yml", "--endpoint", "${NEOFS_STORAGE_CONTROL_GRPC_ENDPOINT_2}"] interval: 5s