Hass setup

This commit is contained in:
2026-03-21 12:04:07 -03:00
parent 8148670500
commit 7697ce20dc

View File

@@ -1,5 +1,20 @@
services:
homeassistant:
container_name: HomeAssistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- ./config:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
restart: unless-stopped
privileged: true
network_mode: host
environment:
- TZ=America/Santiago
- PROXY_HOSTNAME=0.0.0.0/0
- HOME=/config
zigbee2mqtt:
profiles: ["disabled"] # TODO: Enable only if using Zigbee stick
image: "koenkk/zigbee2mqtt:latest"
container_name: Zigbee2MQTT
privileged: true
@@ -18,21 +33,8 @@ services:
#devices:
# - /dev/ttyACM0:/dev/ttyACM0
restart: unless-stopped
homeassistant:
container_name: HomeAssistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- ./config:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
restart: unless-stopped
privileged: true
network_mode: host
environment:
- TZ=America/Santiago
- PROXY_HOSTNAME=0.0.0.0/0
- HOME=/config
mosquitto:
profiles: ["disabled"] # TODO: Enable only if using Zigbee stick
image: "eclipse-mosquitto:latest"
container_name: Mosquitto
networks: