Skip to content

Feature Request: allow alternate location for config and data (persistent) files #153

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

Closed
jeff47 opened this issue Jul 24, 2021 · 3 comments
Labels
question Further information is requested stale

Comments

@jeff47
Copy link

jeff47 commented Jul 24, 2021

Is it possible to modify this code to allow a different path to the config, and to point to a different location for saving any files needed to persist between instances? This would easily allow the project to be run from a docker container with a volume (bind mount) for the config and other persistent files.

@geerlingguy
Copy link
Owner

@jeff47 - The config_dir variable is meant for that: https://github.com/geerlingguy/internet-pi/blob/master/example.config.yml#L3

You can set it to anywhere you'd like (it defaults to the current user's home directory), and back up all the data there. Any of the Docker volumes can be backed up using normal Docker methods—though I'm also planning on adding more docs around how to do good backups for anything persistent in this issue: #7

@geerlingguy geerlingguy added the question Further information is requested label Jul 27, 2021
@stale
Copy link

stale bot commented Oct 27, 2021

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@stale stale bot added the stale label Oct 27, 2021
@stale
Copy link

stale bot commented Nov 26, 2021

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

@stale stale bot closed this as completed Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested stale
Projects
None yet
Development

No branches or pull requests

2 participants