Hass setup
This commit is contained in:
@@ -1,5 +1,20 @@
|
|||||||
services:
|
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:
|
zigbee2mqtt:
|
||||||
|
profiles: ["disabled"] # TODO: Enable only if using Zigbee stick
|
||||||
image: "koenkk/zigbee2mqtt:latest"
|
image: "koenkk/zigbee2mqtt:latest"
|
||||||
container_name: Zigbee2MQTT
|
container_name: Zigbee2MQTT
|
||||||
privileged: true
|
privileged: true
|
||||||
@@ -18,21 +33,8 @@ services:
|
|||||||
#devices:
|
#devices:
|
||||||
# - /dev/ttyACM0:/dev/ttyACM0
|
# - /dev/ttyACM0:/dev/ttyACM0
|
||||||
restart: unless-stopped
|
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:
|
mosquitto:
|
||||||
|
profiles: ["disabled"] # TODO: Enable only if using Zigbee stick
|
||||||
image: "eclipse-mosquitto:latest"
|
image: "eclipse-mosquitto:latest"
|
||||||
container_name: Mosquitto
|
container_name: Mosquitto
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user