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

Paths in Example docker-compose.yml #3

Open
edrose opened this issue Mar 16, 2022 · 1 comment
Open

Paths in Example docker-compose.yml #3

edrose opened this issue Mar 16, 2022 · 1 comment

Comments

@edrose
Copy link

edrose commented Mar 16, 2022

Not a massive issue, just a detail I think is worth pointing out.

In the example docker-compose file, the blockchain volume is bound like this:

volumes:
      - /etc/monero-blockchain:/home/monero/.bitmonero

The /etc directory is intended to be used for static configuration, and isn't expected to grow significantly in size without the user performing some kind of action. It's not really the right place for the blockchain to be stored.

A more appropriate place would be a folder in /var which is intended for things that could vary in size (hence the name). I'm sure most users will edit the file for their machine, but there is no harm in providing a sensible default in case someone has their system setup with /var in a different partition.

@leonardochaia
Copy link
Owner

Hey thanks for submitting this!

I think we should suggest storing it at the standard path in the host as well, i.e home/lchaia/monero/.bitmonero

Will update the docs

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