Docker Labels
HomeGantry reads Docker labels to determine how services appear on the dashboard. You can use HomeGantry-native labels, Homepage-compatible labels, or both.
HomeGantry Labels
These take the highest priority and are the recommended way to configure services.
labels:
homegantry.name: 'My Service' # Display name
homegantry.icon: 'plex' # Icon identifier
homegantry.url: 'https://plex.lan' # Clickable URL
homegantry.category: 'Media' # Category grouping
homegantry.description: 'Media server' # Short description
homegantry.exclude: 'true' # Hide from dashboard
homegantry.hidden: 'true' # Same as exclude
homegantry.healthcheck: 'false' # No health check for this service
homegantry.healthcheck.url: 'http://plex:32400/identity' # Check this URL insteadAll labels are optional. If not provided, HomeGantry uses its knowledge base to auto-detect names, icons, and categories based on the Docker image.
Homepage Labels
For easy migration from Homepage, HomeGantry reads homepage.* labels when HOMEGANTRY_HOMEPAGE_COMPAT is enabled (default: true).
labels:
homepage.name: 'Sonarr'
homepage.icon: 'sonarr'
homepage.href: 'https://sonarr.example.com'
homepage.group: 'Media'
homepage.description: 'TV show manager'HomeGantry-native labels always take precedence over Homepage labels when both are present.
Hiding Containers
There are several ways to hide a container from the dashboard:
labels:
# Any of these will hide the container:
homegantry.exclude: 'true'
homegantry.hidden: 'true'Infrastructure containers (Traefik, Docker socket proxies, etc.) are hidden by default. You can also toggle stack visibility in the Settings drawer.
Label Priority
When multiple label sources are present, HomeGantry resolves them in this order:
- UI overrides — Changes made through the HomeGantry web interface
homegantry.*labels — Native HomeGantry labelshomepage.*labels — Homepage-compatible labels- Knowledge base — Built-in service database (200+ services)
- Docker metadata — Container name as final fallback
This applies per field: homegantry.icon beats homepage.icon and homegantry.category beats the knowledge-base category, even when no name label is set. See the full precedence table.