I’ve gone through and setup a Homarr dashboard with a number of customizations. I exited the edit mode before leaving. When I start up the container is comes up with all the original defaults. I don’t live in Paris for example and all my custom docker container icons are no longer there.
Any thoughts?
How long is a jiffy?
But also, you probably didnt set up your Docker container properly and it doesnt save persistent data. By nature containers are ephemeral, meaning you stop them and they are gone. If you want to keep specific data you need to save that on the Docker host.
Projects like Homarr mention which paths inside the container image should be mapped to the host in order to save those things like settings.
You simply need to follow that.
Without any additional info thats all.
For the future, “it doesnt work” is not great, try to provide exact details of your setup, what youre doing and what the outcome is (errors messages, logs, etc). That saves a lot of time for people trying to help you, but also for yourself.
And fyi this here is not a techsupport subreddit.
For specific questions about Docker issues i would suggest /r/Docker as example, and for Homarr itself the ideal place is their Github page.
Here is the docker-compose.yml file I used to set it up. In all my other container docker-compose.yml file persistent storage is contained in it:
docker-compose.yml
version: ‘3’
#---------------------------------------------------------------------#
# Homarr - A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
volumes:
- ./homarr/configs:/app/data/configs
- ./homarr/icons:/app/public/icons
ports:
- ‘7575:7575’
So when I see /app/data/configs I assumed that was where the configuration changes are stored.
Does your docker-compose file differ?
Thanks for the feedback.
Glenn…
After checking the Homarr documentation, this looks correct to me.
If your settings still disappeared after a container restart it could (imo) be two things:
your data got corrupted on the host for a variety of reasons
its a bug in Homarr or Docker
So once again: