Try to debug build

This commit is contained in:
2025-11-20 01:38:16 +01:00
parent 95ce447496
commit ee8efecdec
6 changed files with 142 additions and 2 deletions

View File

@@ -0,0 +1,26 @@
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