43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
---
|
|
services:
|
|
homeassistant:
|
|
image: ghcr.io/home-assistant/home-assistant:stable
|
|
container_name: homeassistant
|
|
volumes:
|
|
- ./volumes/homeassistant/config:/config
|
|
- /etc/localtime:/etc/localtime:ro
|
|
environment:
|
|
- TZ=Europe/Berlin
|
|
network_mode: host
|
|
restart: unless-stopped
|
|
|
|
zigbee2mqtt:
|
|
image: koenkk/zigbee2mqtt
|
|
container_name: zigbee2mqtt
|
|
group_add:
|
|
- dialout
|
|
ports:
|
|
- 127.0.0.1:38080:8080
|
|
volumes:
|
|
- ./volumes/zigbee2mqtt/data:/app/data
|
|
- /run/udev:/run/udev:ro
|
|
environment:
|
|
- TZ=Europe/Berlin
|
|
devices:
|
|
# Make sure this matched your adapter location
|
|
- /dev/ttyACM0:/dev/ttyACM0
|
|
restart: unless-stopped
|
|
|
|
mqtt:
|
|
image: eclipse-mosquitto:2.0
|
|
container_name: mqtt
|
|
command: "mosquitto -c /mosquitto-no-auth.conf"
|
|
ports:
|
|
- 127.0.0.1:1883:1883
|
|
volumes:
|
|
- ./volumes/mosquitto/conf:/mosquitto/conf
|
|
- ./volumes/mosquitto/data:/mosquitto/data
|
|
- ./volumes/mosquitto/logs:/mosquitto/log
|
|
environment:
|
|
- TZ=Europe/Berlin
|
|
restart: unless-stopped
|