Last active
January 12, 2019 22:24
-
-
Save lordneon/06906b669b9448a6f0a1b3960bac9434 to your computer and use it in GitHub Desktop.
HA + Zigbee2MQTT + MQTT
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: | |
nginx-proxy: | |
image: nginx:latest | |
network_mode: "host" | |
volumes: | |
- ./proxy/nginx.conf:/etc/nginx/nginx.conf | |
- /etc/letsencrypt/archive/REMOVED/fullchain1.pem:/etc/nginx/ssl/fullchain.pem | |
- /etc/letsencrypt/archive/REMOVED/privkey1.pem:/etc/nginx/ssl/privkey.pem | |
- ./proxy/dhparams.pm:/etc/nginx/ssl/dhparams.pem; | |
restart: always | |
ha: | |
image: homeassistant/raspberrypi3-homeassistant:latest | |
volumes: | |
- ./ha_config:/config | |
- /etc/localtime:/etc/localtime | |
- /etc/letsencrypt/live/:/etc/letsencrypt/ | |
network_mode: "host" | |
restart: always | |
depends_on: | |
- zigbee | |
zigbee: | |
image: koenkk/zigbee2mqtt:arm32v6 | |
devices: | |
- /dev/ttyACM0:/dev/ttyACM0 | |
volumes: | |
- ./zigbee_data:/app/data | |
network_mode: "host" | |
restart: always | |
depends_on: | |
- mqtt | |
mqtt: | |
image: mjenz/rpi-mosquitto | |
volumes: | |
- ./mqtt/config:/mqtt/config | |
- ./mqtt/log:/mqtt/log | |
- ./mqtt/data:/mqtt/data | |
network_mode: "host" | |
restart: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment