Replies: 5 comments 23 replies
-
Hey there! Actually all configs made through However, if you are still having problems, you can use For instance, to use my own config on my mobile devices, I use the web build and import my own configuration from my dotfiles repository with I would suggest creating your own images if you forked this repository and made some source code changes besides the configuration. Otherwise, if the source code is the same, managing the configuration should persist on browsers. For this reason, I backed up my configuration on my dotfiles repository. I am not sure if volumes are the best way for this. In order to do it, I think I need to serve it as an API to return configuration file from another container since it will be more of a server thing. Let me know what you think! Cheers! |
Beta Was this translation helpful? Give feedback.
-
Setting config with via URL is one way of solving that issue but in my opinion is not ideal. Accessing start-page from multiple devices (including mobile) becomes a hassle to setup. Using private browsing or cleaning cache is an issue too. Not to mention each new device will face same issue or that you'd have to have some reliable way of remembering that link. I'd rather have global configuration that simply works across devices. Usually when setting up similar projects you'd go and use DNS server and reverse proxy to be able to access it through some domain like https://dashboard.home. This way you can easily access it through multiple devices and have exactly same setup without all the hassle of configuration each time you're accessing it from new device/OS/session. I must say that I really like the project and in my eyes it would be a great Homarr, Homepage or Dashy alternative. I would like to make it work for me and I guess a lot of folks on /r/homelab would want that too (highly encourage you to advert project there). All those projects however offer some easy way of changing config and not worry too much about updates or container restarts. |
Beta Was this translation helpful? Give feedback.
-
Hey @g4xx, thanks for clarifying those in detail, I have a very basic home setup so I lacked the knowledge of good improvements. However, checking out those projects gave me a great vision! Also, I now that I see, I misinterpreted the idea behind volumes before. I will definetely look into this but as you mentioned earlier, I really need some time to research before starting refactoring the source code. I suppose the first thing I should do is to get rid of the browser local storage. It will definetely break hearts of the users who prefer using online preview version, but with a simplified docker setup phase (like compose you mentioned as well) it will be easier for everyone to get into the Docker world. This will definetely further improve the stability and usability of the app. I will also try building for armv7 for my old rusty RPi2 to try things locally. This will take some time, but I will try to do my best! Thanks so much again for lots of great suggestions! |
Beta Was this translation helpful? Give feedback.
-
Hey again @g4xx! I think I managed to seperate Docker and web-based configurations using a volume for settings to persist. Now, while using Docker either I would be grateful if you could try out give me another feedback regarding this! version: '3.8'
services:
start-page:
container_name: start-page
image: excalith/start-page:docker-volume-test
restart: unless-stopped
ports:
- 8080:3000
volumes:
- data:/app/public/data
volumes:
data:
name: excalith-start-page Cheers! |
Beta Was this translation helpful? Give feedback.
-
Hi, When i bind the docker volume using this docker compose file:
it only generates the settings.json in MyOwnFolder and not the themes and assets folder. Is this intended? |
Beta Was this translation helpful? Give feedback.
-
Hey again!
Currently hosting start-page via Docker/DockerHub has one fundamental issue - changes made through web UI will not persist if container is restarted/updated.
Building image locally with modified source kind of defeats the purpose of having images on DockerHub and adds a lot of overhead to building and modifying source.
Using docker volumes would be obvious answer but I am not sure how that would work with ability to edit from UI - this would require some research.
Best Regards!
Beta Was this translation helpful? Give feedback.
All reactions