Skip to content

Commit

Permalink
[#45] Store sidechain db in the volume
Browse files Browse the repository at this point in the history
Use `sidechain` volume to store sidechain data and make it accessible
after restarts.

Signed-off-by: Leonard Lyubich <[email protected]>
  • Loading branch information
cthulhu-rider committed Dec 8, 2022
1 parent 356ec3b commit d0c4cae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -132,3 +133,4 @@ services:
volumes:
data:
cache:
sidechain:

0 comments on commit d0c4cae

Please sign in to comment.