I’ve tried to install in Docker Home Assistant + Mosquitto + Zigbee2MQTT
Compose file
`
version: '3.3'
services:
eclipse-mosquitto:
container_name: mosquitto
image: eclipse-mosquitto:latest
restart: always
volumes:
- /media/storage/docker/mosquitto/config:/mosquitto/config
- /media/storage/docker/mosquitto/data:/mosquitto/data
- /media/storage/docker/mosquitto/log:/mosquitto/log
ports:
- 1883:1883
- 9001:9001
zigbee2mqtt:
container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt:latest
restart: always
volumes:
- /media/storage/docker/zigbee2mqtt:/app/data
devices:
- /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B000FE7134F-if00:/dev/ttyACM0
network_mode: host
homeassistant:
container_name: home-assistant
image: homeassistant/home-assistant:stable
volumes:
- /media/storage/docker/home-assistant/config:/config
devices:
- /dev/ttyACM1:/dev/ttyACM1
environment:
- TZ=Europe/Minsk
restart: always
ports:
- 8123:8123`
Blockquote
During the installation I can see messages:
Blockquote
mosquitto exited with code 3
zigbee2mqtt | zigbee2mqtt:error 2019-12-13T11:44:28: Not connected to MQTT server!
zigbee2mqtt | zigbee2mqtt:error 2019-12-13T11:44:38: Not connected to MQTT server!
zigbee2mqtt | zigbee2mqtt:error 2019-12-13T11:44:48: Not connected to MQTT server!
zigbee2mqtt | zigbee2mqtt:error 2019-12-13T11:44:58: Not connected to MQTT server!
zigbee2mqtt | zigbee2mqtt:error 2019-12-13T11:45:08: Not connected to MQTT server!
zigbee2mqtt | zigbee2mqtt:error 2019-12-13T11:45:18: Not connected to MQTT server!
mosquitto | 1576237047: Error: Unable to open config file /mosquitto/config/mosquitto.conf.
mosquitto | 1576237049: Error: Unable to open config file /mosquitto/config/mosquitto.conf.
mosquitto | 1576237050: Error: Unable to open config file /mosquitto/config/mosquitto.conf.
mosquitto | 1576237051: Error: Unable to open config file /mosquitto/config/mosquitto.conf.
mosquitto | 1576237053: Error: Unable to open config file /mosquitto/config/mosquitto.conf.
mosquitto | 1576237056: Error: Unable to open config file /mosquitto/config/mosquitto.conf.
Blockquote
Maybe somebody has this issue and resolve it?