mirror of https://github.com/balkian/zigbee2mqtt
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
655 B
YAML
35 lines
655 B
YAML
version: '2.1'
|
|
services:
|
|
zigbee2mqtt:
|
|
image: koenkk/zigbee2mqtt
|
|
container_name: zigbee2mqtt
|
|
restart: always
|
|
volumes:
|
|
- ./z2m-data/:/app/data/
|
|
devices:
|
|
- "/dev/ttyACM0"
|
|
networks:
|
|
- hass
|
|
mqtt:
|
|
image: eclipse-mosquitto
|
|
ports:
|
|
- 1883:1883
|
|
- 9001:9001
|
|
networks:
|
|
- hass
|
|
volumes:
|
|
- ./mosquitto.conf:/mosquitto/config/mosquitto.conf
|
|
hass:
|
|
image: homeassistant/home-assistant
|
|
ports:
|
|
- "8123:8123"
|
|
networks:
|
|
- hass
|
|
volumes:
|
|
- ./hass-config:/config
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
networks:
|
|
hass:
|
|
driver: overlay
|
|
|