98 words
1 minutes
How to Install Homarr Personal Dashboard in Docker

How to Install Homarr Personal Dashboard in Docker#

Install Homarr and customize your dashboard by adding widgets like a clock, weather, app shortcuts, and iframes.

Docker Compose#

Create a folder named homarr:

mkdir homarr
cd homarr

Edit docker-compose.yml:

nano docker-compose.yml
version: '3'

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
      - ./homarr/data:/data
    ports:
      - '7575:7575'

Start Homarr:

docker compose up -d

Reverse Proxy#

Install Caddy:

sudo apt install caddy

Edit Caddyfile:

sudo nano /etc/caddy/Caddyfile
example.com {
  route /home* {
    uri strip_prefix /home
    redir https://home.{host}{uri}
  }
}

home.example.com {
  reverse_proxy localhost:7575
}

Restart Caddy:

sudo systemctl restart caddy

Go to Homarr at https://home.example.com or at https://example.com/home if you prefer using a subpath.

How to Install Homarr Personal Dashboard in Docker
https://blog.juyoun.gg/posts/en/2025/01/11/
Author
Jay
Published at
2025-01-11
License
CC BY