Files
harmony-back/stack docker/matterhub.yaml
2025-11-20 01:38:16 +01:00

27 lines
1.1 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
version: "3.9"
services:
matter-hub:
image: ghcr.io/t0bst4r/home-assistant-matter-hub:latest
container_name: home-assistant-matter-hub
restart: unless-stopped
network_mode: host # indispensable pour mDNS / Matter
environment:
# Adresse de ton instance Home Assistant
# Utilise lIP locale plutôt que le domaine si possible
- HAMH_HOME_ASSISTANT_URL=https://ha.beyonder.synology.me
# Ton token long-lived (Home Assistant)
- HAMH_HOME_ASSISTANT_ACCESS_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIwMjU2ZGQ3OTk4MmI0NDdkODNlMjBkYjU4ZDRmOTg1NiIsImlhdCI6MTc2Mjc5NjIwMiwiZXhwIjoyMDc4MTU2MjAyfQ.n2E62mMtmfEqwAjusIGlI0FC5d5Q6jr55UxGAL4u2gc
# Niveau de log (debug si tu veux voir les tentatives dappairage)
- HAMH_LOG_LEVEL=debug
# Port HTTP de linterface locale du hub
- HAMH_HTTP_PORT=8482
volumes:
- ./home-assistant-matter-hub:/data
# Petit délai pour que le réseau LAN soit prêt
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8482/health"]
interval: 30s
timeout: 5s
retries: 5