-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Configuration dependant on URL #10
Comments
Hey @shadowKing001, thanks for raising this. That is actually the expected behavior, you will need paste your modified config file into In terms of the backup and restore feature, it is done using a Cloudflare worker (a platform for running serverless functions), and stored in the KV data store. Everything is encrypted client-side using AES with your passphrase as the key (see |
I'm not a developer so I cannot technically tell you how it could or should be done, but having a kind of "sandbox" like you did is a great feature imho. But if you promote a way to edit settings through a GUI, then you should not stop half-way. As you mention alternatives :
They have obvious caveats, I tried them all, but as you can see, you can fully configure your UI either way. So if I were you I'd try to give the user a way to overwrite the conf.yml file without having to SSH into the server, etc... Regarding backup, thanks it's way more clear. 👍 |
I am still facing issues getting my conf.yml loaded. So basically, it seems that the content of the conf.yml file is not taken into account. Everything is happening locally. I tried to clear my cookies and cache, it has not gotten any better. Am I missing something ? |
Hey @shadowKing001 I've totally rewritten the Docker image, and now the source is included in the container, allowing it to be rebuilt when the config changes. You'll need to ensure you've got the latest version of the image from Docker Hub, then paste your config into a YAML file and spin up the new container with:
Then, if you make any changes to your config, just run So this should now all be working- very sorry for the trouble, I've not Dockerized many apps before, so this part was new to me. |
Wow, you made that UI even better, it's getting serious... love it, really. |
Hello @Lissy93 Let's say I'm trying to change the "description" field manually in the conf.yml file :
and following to the documentation, I set a yarn build to take changes into account. If I use my browser with cookies enabled (normal navigation mode), changes are not visible. Moreover, whatever I could do in the WebUI config section has no impact on the conf.yml file. When I say that I think that you did it on purpose (tell me if I'm wrong), it's because I see a major benefit with this : multiple users can customize their dashboard on their own browsers. If they sync their browsers on their devices, it is even more convenient. But there is a major drawback : at home I'm the one managing all the network and applications stuff, and I'm frequently adding new apps. So basically my family members can check the up-to-date dashboard to discover what is new, they don't have to bother with bookmarks in their browsers or waiting for me to tell them they should add a new app to their dashboard. One page to rules them all 💍 If the dashboard display is related to their cookie, this use case is broken. I hope that I've been clear, thanks again ! |
Yeah, I agree with you totally. The reason I did it was because from a frontend app alone, it is not possible to write changes to disk. However I've now build a simple node backend, which is what the Docker image uses to serve up the app, so going forward there is no reason why Dashy cannot write changes made from the UI into the YAML file. It is on my todo list to write an endpoint in the Node server, which Dashy calls to, which then updates the conf.yaml file on disk, and I will try and get it done this weekend. I'll keep this issue open, and update you when it's implemented :) |
This is now fixed in #43 - You can now write config directly to the After updating, if the change is not visible, then do a hard refresh (Shift + F5). After the config has been edited, the app should then rebuild automatically, but can also be manually triggered through the UI also. This functionality can be disabled by setting |
Hello,
I'm working of my personal dashboard for some days now, and I have spotted a strange behaviour.
Dashy is atm running backend behind my reverse proxy, e.g. I'm reaching it through dashy.ndd.tld
Until now I was using Dashmachine on www.ndd.tld, and I'd like to make dashy my primary dashboard from now on.
When I tweak Nginx to switch subdomains, I'm getting back to the initial configuration, see dashy.ndd.tld here :
www.ndd.tld :
Context :
So it seems that the configuration is related to the URL. But I thought that in any case, it should load the conf.yml file in the container.
So I tried to check conf.yml in the container, I felt upset when I saw that my conf.yml file is the default one :
docker exec -it dashy cat /usr/share/nginx/html/conf.yml
My guess is that when I edit my config through the UI, changes are saved elsewhere than in the conf.yml file. Not the best way to ensure data persistance.
If it can help you, here is my docker-compose file :
Another thing that disturbs me is the backup/restore config tool. Besides it is a rather cool feature, I can't find any mention of WHERE my data is saved. This stands as a real privacy concern imho.
Staying available if you need further details.
The text was updated successfully, but these errors were encountered: