Migrating from Homepage
Homepage builds its dashboard from YAML files (services.yaml, widgets.yaml, bookmarks.yaml, ...) and from homepage.* Docker labels. HomeGantry starts from what is running: it lists your containers, recognises them from its knowledge base and needs no configuration file. Labels are only for overrides, and HomeGantry reads the most common homepage.* labels, so most labelled containers look the same in both without changes.
This guide covers what carries over, what does not, and how to run both side by side until you are happy.
Label mapping
With HOMEGANTRY_HOMEPAGE_COMPAT=true (the default) these Homepage labels are read:
| Homepage label | Read as | Notes |
|---|---|---|
homepage.name | homegantry.name | Also skips the knowledge-base match (no default icon or description from it). |
homepage.href | homegantry.url | Beats the URL from Traefik and published ports. |
homepage.icon | homegantry.icon | Slug (sonarr, sonarr.png) or URL; mdi-*/si-* icons show a letter avatar. |
homepage.group | homegantry.category | Beats the knowledge-base category, even for the value Other. |
homepage.description | homegantry.description | Only used together with homepage.name, homepage.icon or homepage.group. |
Rules when both kinds of labels are set (details in the precedence table):
- A
homegantry.*label always beats itshomepage.*counterpart. homegantry.namemakes HomeGantry ignore thehomepage.*display labels (name, icon, group, description) completely;homepage.hrefis still read unlesshomegantry.urlis set.- Changes made in the HomeGantry UI (overrides) beat every label.
Ignored labels
Everything else under homepage. is ignored, in particular:
| Homepage label | In HomeGantry |
|---|---|
homepage.widget.*, homepage.widgets[N].* | Not supported: HomeGantry has no widgets that call service APIs (non-goal). |
homepage.siteMonitor, homepage.ping | Not needed: every service with a URL gets an HTTP health check. To check another URL use homegantry.healthcheck.url; to turn it off, homegantry.healthcheck=false. |
homepage.server, homepage.container, homepage.instance.* | Not needed: HomeGantry reads one Docker host (multi-host is a non-goal for now). |
homepage.weight, homepage.showStats, homepage.statusStyle | Not supported. Cards are sorted by name within a group; container stats are not shown. |
Secret-looking labels (for example homepage.widget.key or homepage.widget.password) are dropped as soon as containers are read, so they never reach HomeGantry's state or API.
services.yaml entries
Homepage needs an entry for every service. In HomeGantry most of them are not needed:
services.yaml entry | In HomeGantry |
|---|---|
| A container on the Docker host | Nothing to do: it is discovered. If the name, icon, category or link is not what you want, add homegantry.* labels or edit the card in the UI. |
| A container whose name/group you configured in YAML | Move the values to labels on the container (homegantry.name, homegantry.category, ...) or edit the card in the UI. |
| A service behind Traefik that is not a container (NAS, ...) | With Traefik API discovery (HOMEGANTRY_TRAEFIK_API_URL) routers from the file provider become cards automatically, with their exposure badge. |
| Anything else (router admin page, printer, ...) | Add it as a manual service in the UI (+ Add Service, needs editing enabled): name, URL, icon slug, category (optional) and description. |
For example, this Homepage entry:
# services.yaml (Homepage)
- Media:
- Jellyfin:
icon: jellyfin.png
href: https://jellyfin.example.com
description: Movies and TV
server: my-docker
container: jellyfinneeds nothing in HomeGantry if the container runs on the same host: it is recognised as Jellyfin, category Media, with the URL from its Traefik router. To keep your own description, add a label to the container (or edit the card):
labels:
homegantry.description: 'Movies and TV'Homepage's information widgets (widgets.yaml: resources, search, weather, ...) and bookmarks (bookmarks.yaml) have no equivalent in HomeGantry.
Run both side by side
Both can read the same Docker host at the same time; nothing in HomeGantry writes to Docker. Keep Homepage running, add HomeGantry on another port, compare, and switch when you are happy:
services:
homepage:
image: ghcr.io/gethomepage/homepage:latest
ports:
- '3000:3000'
volumes:
- ./homepage:/app/config
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- HOMEPAGE_ALLOWED_HOSTS=192.168.1.100:3000
homegantry:
image: ghcr.io/geraldvd/homegantry:0.3
ports:
- '3001:3000'
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- homegantry_data:/data
environment:
- HOMEGANTRY_HOST=192.168.1.100
restart: unless-stopped
volumes:
homegantry_data:Open Homepage on http://192.168.1.100:3000 and HomeGantry on http://192.168.1.100:3001. For a setup you keep, put a read-only socket proxy in front of the Docker API instead of mounting the socket; both dashboards can use the same proxy.
Checklist
- [ ] HomeGantry runs next to Homepage and shows your containers.
- [ ]
HOMEGANTRY_HOSTis set, so services with only a published port get a working link. - [ ] Optional:
HOMEGANTRY_TRAEFIK_API_URLis set, so links use your real hostnames and non-Docker routers show up. - [ ] Every card you expect is there. Infrastructure (databases, caches, socket proxies) is hidden by default; a container that is missing may lack a Compose project (
HOMEGANTRY_COMPOSE_ONLY) or be stopped (HOMEGANTRY_SHOW_STOPPED). - [ ] Unrecognised containers: give them
homegantry.*labels or a name in the UI, or add them to the knowledge base. - [ ] Entries from
services.yamlthat are not containers are manual services or Traefik routers. - [ ] Editing is enabled the way you want (admin token or forward-auth header, see the security model), or deliberately left read-only.
- [ ] Your reverse proxy points to HomeGantry; Homepage can be stopped. Its labels can stay on the containers: they do no harm, and HomeGantry keeps reading them.