Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

**Feature Request** #16

Open
Root-DE opened this issue Apr 18, 2021 · 2 comments
Open

**Feature Request** #16

Root-DE opened this issue Apr 18, 2021 · 2 comments

Comments

@Root-DE
Copy link

Root-DE commented Apr 18, 2021

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

@bucko13
Copy link
Collaborator

bucko13 commented Apr 26, 2021

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.

@Root-DE
Copy link
Author

Root-DE commented Apr 27, 2021

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants