this post was submitted on 19 Oct 2023
1 points (100.0% liked)

Self-Hosted Main

502 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 11 months ago (1 children)

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...

[โ€“] [email protected] 1 points 11 months ago
volumes:
  - ./homarr/configs:/app/data/configs
  - ./homarr/icons:/app/public/icons

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:

For specific questions about Docker issues i would suggest /r/Docker as example, and for Homarr itself the ideal place is their Github page.