Add Docker Compose configuration for ha-mcp service
This commit is contained in:
1 parent
7612048801
commit
412d1f1c2b
1 file changed
+19
@@ -0,0 +1,19 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
ha-mcp:
|
||||
image: ghcr.io/homeassistant-ai/ha-mcp:latest
|
||||
container_name: ha-mcp
|
||||
ports:
|
||||
- "8086:8086"
|
||||
environment:
|
||||
# === VERPLICHT ===
|
||||
# Pas dit aan naar het IP/URL van jouw Home Assistant instance
|
||||
HOMEASSISTANT_URL: http://homeassistant.local:8123
|
||||
# Maak een Long-Lived Access Token aan in HA:
|
||||
# Profiel → Beveiliging → Tokens voor lange levensduur → Token aanmaken
|
||||
HOMEASSISTANT_TOKEN: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI5YjFmNGY2MDczZTY0MTU2ODY0NDRlN2U5ZDc2NjBmMiIsImlhdCI6MTc3MDU4MjQzOCwiZXhwIjoyMDg1OTQyNDM4fQ.ghJZFYfG7zdNg-1D0Vu8fzVWigAbOvHW0O_6iYEF-zU
|
||||
# Geheime string voor web client toegang (kies zelf iets)
|
||||
MCP_SECRET_PATH: /__943ca36d2e5fbad370a3d8060b9f3c59__
|
||||
command: ["fastmcp", "run", "fastmcp-webclient.json"]
|
||||
restart: unless-stopped
|
||||
Reference in new issue
Block a user