2019-10-27 13:44:08 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
home-assistant:
|
2019-10-27 15:14:27 +02:00
|
|
|
environment:
|
2019-11-10 16:43:52 +02:00
|
|
|
TZ: 'Europe/Helsinki'
|
2019-10-27 13:44:08 +02:00
|
|
|
container_name: home-assistant
|
2019-10-27 16:32:31 +02:00
|
|
|
restart: always
|
2019-10-27 13:44:08 +02:00
|
|
|
image: homeassistant/home-assistant
|
|
|
|
volumes:
|
|
|
|
- /homeautomation-config/home-assistant:/config
|
|
|
|
network_mode: host
|
|
|
|
depends_on:
|
|
|
|
- deconz
|
2019-10-28 11:24:19 +02:00
|
|
|
- mosquitto
|
2019-10-27 13:44:08 +02:00
|
|
|
|
|
|
|
deconz:
|
|
|
|
container_name: deconz
|
|
|
|
image: marthoc/deconz
|
|
|
|
restart: always
|
|
|
|
environment:
|
2019-10-27 16:50:30 +02:00
|
|
|
DECONZ_WEB_PORT: 8083
|
|
|
|
DECONZ_WS_PORT: 8084
|
2019-10-27 15:14:27 +02:00
|
|
|
DECONZ_VNC_PORT: 5901
|
2019-10-27 16:50:30 +02:00
|
|
|
DECONZ_VNC_MODE: 1
|
2019-11-10 16:43:52 +02:00
|
|
|
DECONZ_VNC_PASSWORD: '${DECONZ_VNC_PASSWORD}'
|
2019-10-27 19:19:17 +02:00
|
|
|
DEBUG_OTAU: 1
|
2019-10-27 15:14:27 +02:00
|
|
|
network_mode: host
|
2019-10-27 13:44:08 +02:00
|
|
|
volumes:
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
- /homeautomation-config/deconz:/root/.local/share/dresden-elektronik/deCONZ
|
|
|
|
devices:
|
2019-10-27 15:14:27 +02:00
|
|
|
- /dev/ttyACM0
|
2019-10-27 13:44:08 +02:00
|
|
|
|
2019-10-27 15:14:27 +02:00
|
|
|
node-red:
|
2019-10-27 15:28:28 +02:00
|
|
|
container_name: node-red
|
2019-10-27 13:44:08 +02:00
|
|
|
image: nodered/node-red
|
2019-10-27 16:32:31 +02:00
|
|
|
restart: always
|
|
|
|
environment:
|
2019-11-10 16:43:52 +02:00
|
|
|
TZ: 'Europe/Helsinki'
|
2019-10-27 15:14:27 +02:00
|
|
|
network_mode: host
|
2019-10-27 13:44:08 +02:00
|
|
|
ports:
|
2019-11-10 16:43:52 +02:00
|
|
|
- '1880:1880'
|
2019-10-27 13:44:08 +02:00
|
|
|
volumes:
|
|
|
|
- /homeautomation-config/node-red:/data
|
|
|
|
depends_on:
|
|
|
|
- home-assistant
|
2019-10-27 15:14:27 +02:00
|
|
|
|
|
|
|
portainer:
|
|
|
|
container_name: portainer
|
|
|
|
image: portainer/portainer
|
2019-10-27 16:32:31 +02:00
|
|
|
restart: always
|
2019-10-27 16:53:20 +02:00
|
|
|
network_mode: host
|
2019-10-27 15:14:27 +02:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
- /homeautomation-config/portainer:/data
|
2019-10-27 21:10:22 +02:00
|
|
|
|
|
|
|
mosquitto:
|
|
|
|
container_name: mosquitto
|
|
|
|
image: eclipse-mosquitto
|
|
|
|
restart: always
|
|
|
|
network_mode: host
|
|
|
|
volumes:
|
|
|
|
- /homeautomation-config/mosquitto:/mosquitto
|
2019-11-10 16:43:52 +02:00
|
|
|
|
|
|
|
snips:
|
|
|
|
container_name: snips
|
|
|
|
image: dYalib/snips-docker
|
|
|
|
restart: always
|
|
|
|
ports: 76477:1883
|
|
|
|
volumes:
|
|
|
|
- /homeautomation-config/snips/log/:/var/log
|
|
|
|
- /homeautomation-config/snips/snips.toml:/etc/snips.toml
|
|
|
|
- /homeautomation-config/snips/mosquitto.conf:/etc/mosquitto/mosquitto.conf
|
|
|
|
- /homeautomation-config/snips/assistant:/usr/share/snips
|