Skip to content

Commit

Permalink
storage: fix s02 volumes
Browse files Browse the repository at this point in the history
  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 <[email protected]>
  • Loading branch information
roman-khimov committed Sep 13, 2023
1 parent bb29d85 commit 236878e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/storage/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand All @@ -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
Expand Down

0 comments on commit 236878e

Please sign in to comment.