From 65b13b9767b3d4665c649be4deea193062e5349a Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Thu, 8 Dec 2022 14:16:18 +0300 Subject: [PATCH] [#45] Store sidechain db in the volume Use `sidechain` volume to store sidechain data and make it accessible after restarts. Signed-off-by: Leonard Lyubich --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 3d2b492..c1fbebc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,6 +16,7 @@ services: - ./vendor/morph_chain.gz:/config/morph_chain.gz - ./morph/protocol.privnet.yml:/config/protocol.privnet.yml - ./morph/node-wallet.json:/config/node-wallet.json + - sidechain:/chain healthcheck: test: [ "CMD-SHELL", "neo-go query committee -r http://127.0.0.1:30333 | grep 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2" ] interval: 2s @@ -132,3 +133,4 @@ services: volumes: data: cache: + sidechain: \ No newline at end of file