Files
Docker-Setups/homeassistant.yaml
2025-04-29 22:00:43 +02:00

52 lines
987 B
YAML

version: "3.7"
services:
mqtt:
container_name: mqtt
image: eclipse-mosquitto:latest
volumes:
- /hdd/mqtt:/mosquitto/
ports:
- 1883:1883
- 9001:9001
network_mode: host
restart: always
environment:
TZ: Europe/Berlin
hass:
container_name: homeassistant
image: homeassistant/home-assistant:latest
volumes:
- /hdd/home-assistant:/config
- /etc/localtime:/etc/localtime:ro
network_mode: host
ports:
- 8123:8123
privileged: true
restart: always
environment:
TZ: Europe/Berlin
zigbee2mqtt:
container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt:latest
volumes:
- /hdd/zigbee2mqtt:/app/data
expose:
- "8888"
ports:
- 8080:8080
devices:
- /dev/ttyACM0:/dev/ttyACM0
privileged: true
restart: always
networks:
- backend
environment:
TZ: Europe/Berlin
networks:
backend:
external:
name: backend