icons & background
Hi,
First off, I'm completely new into Docker and therefore Homarr. I've managed to make a docker container and configure a beginners-dashboard. However, I'm not able to change my background nor icons.
Below is my dockerfile:
services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
hostname: Homarr
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- /docker/homarr/configs:/app/data/configs
- /docker/homarr/icons:/app/public/icons
- /docker/homarr/data:/data
- /docker/homarr/img:/img
ports:
- '7575:7575'
I've tried placing the icons in /docker/homarr/img & /docker/homarr/icons.
But I can't seem to make them visible.
Which path should I use for icon/favicon/background, because none of the combo's I've tried are working.
I have read the official howto, but without result :/
17 Replies
Hi, have you restarted the container after adding files?
Yes, I did
Do you have a . in front?
What file names did you try?
I also tried chmod 777 them, to exclude a permission problem.
Shouldn't it be "/img/mars.jpg"?
I've tried /img/mars.jpg ./img/mars.jpg img/mars.jpg
Try mounting to /app/public/img
Or just put all your images into the icons folder, that works too
Oh wait, your icons folder is not working either, that's weird
"Binds": [
"/docker/homarr/icons:/app/public/icons:rw",
"/docker/homarr/data:/data:rw",
"/docker/homarr/img:/img:rw",
"/docker/homarr/configs:/app/data/configs:rw"
Well, just try, you never know
"Type": "bind",
"Source": "/docker/homarr/img",
"Destination": "/img",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
what do you mean with "pull all your images", drag & drop ?
?
Or just put all your images into the icons folder, that works too ==> drag & drop from explorer ?
Yeah, put your images into the icons mounted folder
ok, weird, if I put them in /icons instead of /img it works.
That's why i suggested doing that
/docker/homarr/img:/img
should be /docker/homarr/img:app/public/img
@starwing01