Docker
Conceptual illustration: a dark glass dashboard with colorful simple service tiles above a small blue container stack; no labels.

Build a Homer Dashboard with Docker Compose

A static dashboard example using the upstream Homer container and Docker Compose. Replace example links with approved destinations.

Homer is a static dashboard configured with YAML. It provides a convenient collection of links and optional integrations; it is not an identity provider, reverse proxy or proof that linked services are healthy. Start with a small configuration that is easy to maintain.

Create the configuration directory

Create a project directory containing compose.yaml and an assets directory. Inside assets, create config.yml before starting the container. The filename is config.yml, not config.conf. The containerโ€™s default UID/GID and file permissions must allow it to read the mounted assets.

Use a reviewed container image

Choose a release tag or digest from the upstream project and set HOMER_IMAGE in your local Compose environment. This Compose file intentionally requires that value rather than silently tracking latest:

services:
  homer:
    image: ${HOMER_IMAGE:?Set HOMER_IMAGE to a reviewed b4bz/homer tag or digest}
    restart: unless-stopped
    ports:
      - "127.0.0.1:8080:8080"
    volumes:
      - ./assets:/www/assets:ro

Binding to loopback keeps this initial example local. Publish through an approved HTTPS reverse proxy and access-control layer if other users need it. Do not assume that a dashboard link protects the destination service.

Start with a minimal config.yml

title: "Operations Dashboard"
subtitle: "Useful administration links"
header: true
footer: false
columns: "3"
connectivityCheck: true
defaults:
  layout: list
  colorTheme: light
services:
  - name: "Administration"
    icon: "fas fa-server"
    items:
      - name: "Documentation"
        subtitle: "Operational guides"
        icon: "fas fa-book"
        url: "https://docs.example.com/"
        target: "_blank"
      - name: "Monitoring"
        subtitle: "Service health"
        icon: "fas fa-heartbeat"
        url: "https://monitoring.example.com/"
        target: "_blank"

The domains are fictional placeholders. Keep API tokens, passwords and private system inventories out of a publicly reachable YAML file: browser-delivered configuration is readable by its users. Product-specific service integrations can make extra browser requests and may need CORS and authentication configuration.

Validate and open the dashboard

docker compose config --quiet
docker compose up -d
docker compose ps
docker compose logs --tail 50 homer

Open http://127.0.0.1:8080/ from the host or an authorized tunnel. Homer needs an HTTP server; opening its index file with file:// is not equivalent. If the page is blank, check YAML indentation, the mounted file path, read permissions and browser/network errors. The connectivity indicator is not a complete service-health check.

Add branding and maintain the configuration

Follow the upstream configuration reference for supported color keys, logos, sections and integrations. Use locally hosted icons where practical and keep their paths relative to the assets mapping. The old sampleโ€™s malformed text-#subtitle entries and large collection of personal network links have been removed.

Back up compose.yaml, the selected image reference and the assets directory before updates. Validate a new configuration, test the actual links and keep the previous image/configuration for rollback. The separate Uptime Kuma push-monitoring guide explains active monitoring rather than dashboard connectivity indicators.

References

Leave a Reply

Your email address will not be published. Required fields are marked *