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
Manicraft1001
Manicraft100112mo ago
Hi, have you restarted the container after adding files?
starwing01
starwing01OP12mo ago
Yes, I did
Manicraft1001
Manicraft100112mo ago
Do you have a . in front? What file names did you try?
starwing01
starwing01OP12mo ago
No description
No description
starwing01
starwing01OP12mo ago
I also tried chmod 777 them, to exclude a permission problem.
Serenaphic
Serenaphic12mo ago
Shouldn't it be "/img/mars.jpg"?
starwing01
starwing01OP12mo ago
I've tried /img/mars.jpg ./img/mars.jpg img/mars.jpg
Serenaphic
Serenaphic12mo ago
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
starwing01
starwing01OP12mo ago
"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"
Serenaphic
Serenaphic12mo ago
Well, just try, you never know
starwing01
starwing01OP12mo ago
"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 ?
Serenaphic
Serenaphic12mo ago
?
starwing01
starwing01OP12mo ago
Or just put all your images into the icons folder, that works too ==> drag & drop from explorer ?
Serenaphic
Serenaphic12mo ago
Yeah, put your images into the icons mounted folder
starwing01
starwing01OP12mo ago
ok, weird, if I put them in /icons instead of /img it works.
Serenaphic
Serenaphic12mo ago
That's why i suggested doing that
explosive parrot
explosive parrot12mo ago
/docker/homarr/img:/img should be /docker/homarr/img:app/public/img @starwing01
Want results from more Discord servers?
Add your server