bitcoin-header-node icon indicating copy to clipboard operation
bitcoin-header-node copied to clipboard

**Feature Request**

Open Root-DE opened this issue 3 years ago • 2 comments

Can you provide an example which files/ folders need to be saved in a docker compose volume to obtain persistence?

Root-DE avatar Apr 18 '21 13:04 Root-DE

If you're using this with docker, all you need to do to add persistence is use the volume config in the docker-compose.yml file. See the docs for more details here. So, for example you could add:

  - volumes:
     - ~/.bhn:/root/.bhn

to mount the /root/.bhn data dir in your container to a ~/.bhn in your host file system. This tells docker where to mount that volume on your host machine and will use that when re-creating the container in the future.

bucko13 avatar Apr 26 '21 03:04 bucko13

Thank you, I know how to deal with volumes, but I didn't know which path to add (therefore i suggest adding the Path to the Readme :D)

Root-DE avatar Apr 27 '21 15:04 Root-DE