-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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] Ability to specify a different directory for config and its backups #1161
Comments
If you're enjoying Dashy, consider dropping us a ⭐ |
This issue has gone 6 weeks without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days. |
Still an issue |
Any progress? |
Moving main config file can be a bit tricky, because it must be in http root, but backups can be stored anywhere. For me, it would be enough to create config parameter for backup path. I have issue in my case too: podman container started with non-root user, config.yml mounted with correct permissions, but I can't save from webpage beacuse /public haven't write permissions for others and backup couldn't be created. I think it would be easy to make some changes here: Line 27 in edeeb74
|
This issue has gone 3 months without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days. |
Still an issue |
In #1393 the config is simply moved to a directory inside the source code, which does not solve my problem. |
@Lissy93 As I wrote above, the other issue did not add a configuration option to specify the config directory, but simply moved it to a folder inside the source code. This prevents Dashy from being stored in a read-only directory, serving the config from outside, making it impossible to create a package for Nix with support for configuration from the application. So this is not a duplicate. Please reopen the issue. |
👍 for this issue. I'm currently unable to deploy Dashy on Docker Swarm because swarm mode volumes only support directory binding. Because Dashy stores
This makes updates, backups, and storage quite cumbersome. Being able to specify the config location either via CLI (i.e. |
Yeah, mounting a file is definitely not great, I get that. The content of |
Is your feature request related to a problem? If so, please describe.
This will make it possible to store the compiled Dashy in a read-only directory, and give the config from outside of it. For example, this is needed to package Dashy for Nix normally.
Describe the solution you'd like
Ability to specify another directory for configs and their backups e.g. with an argument. To get something like
node server -c /etc/dashy
.Priority
Medium (Would be very useful)
Is this something you would be keen to implement
None
The text was updated successfully, but these errors were encountered: