HomarrH
Homarr3y ago
wangel

Custom Background

I know I'm missing something simple.

I have this in my docker-compose file;
  • /opt/appdata/homarr/configs:/app/data/configs
  • /opt/appdata/homarr/icons:/app/public/icons
  • /opt/appdata/homarr/data:/data
  • /opt/appdata/homarr/wallpapers:/app/public/img
  • /var/run/docker.sock:/var/run/docker.sock
if I look in /opt/appdata/homarr/wallpapers I see my background, cp1.jpg.
If I docker exec -it homarr sh and go to /app/public/img and do an ls, I see my cp1.jpg.

If I add /img/cp1.jpg or /cp1.jpg or anything in Homarr, it never shows, I keep getting: http://ipaddress/img/cp1.jpg not found.

I've tried reading the docs, and wher it says "You can find out here how to mount the public image directory", the "here" part of the link points to https://link.to.something. (https://homarr.dev/docs/customizations/board-customization)

I know I'm missing something easy;
How to get to the customize page
Solution
Restart didn't work, we had to go deeper.
A folder named wallpapers wasn't linking to app/public/img
Renaming the folder to IMG solved it.
I couldn't replicate on docker compose.
Also a chance of a typo along the way (part of my rationale to change the folder name to troubleshoot).
Was this page helpful?