Last active
April 22, 2021 10:25
-
-
Save tuomari/9e65a478582aac4ee36b1704c0dc2aca to your computer and use it in GitHub Desktop.
Homeassistant docker-compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
homeassistant: | |
container_name: home-assistant | |
image: homeassistant/home-assistant:stable | |
volumes: | |
- /etc/localtime:/etc/localtime:ro | |
- /opt/hassio/config:/config | |
environment: | |
- TZ=Europe/Helsinki | |
restart: always | |
network_mode: host | |
deconz: | |
container_name: deconz | |
image: marthoc/deconz | |
restart: always | |
devices: | |
- /dev/ttyACM0 | |
network_mode: host | |
volumes: | |
- /etc/localtime:/etc/localtime:ro | |
- /opt/hassio/deconz:/root/.local/share/dresden-elektronik/deCONZ | |
environment: | |
- DECONZ_WEB_PORT=60080 | |
- DECONZ_WS_PORT=60443 | |
- DECONZ_VNC_PORT=65900 | |
mosquitto: | |
container_name: mosquitto | |
image: eclipse-mosquitto | |
ports: | |
- 1883:1883 | |
- 9001:9001 | |
volumes: | |
- /etc/localtime:/etc/localtime:ro | |
- /opt/hassio/mosquitto/data:/mosquitto/data | |
- /opt/hassio/mosquitto/log:/mosquitto/log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment