2019-10-27 11:44:08 +00:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
home-assistant:
|
2019-10-27 13:14:27 +00:00
|
|
|
environment:
|
2019-11-10 14:43:52 +00:00
|
|
|
TZ: 'Europe/Helsinki'
|
2019-10-27 11:44:08 +00:00
|
|
|
container_name: home-assistant
|
2019-10-27 14:32:31 +00:00
|
|
|
restart: always
|
2019-10-27 11:44:08 +00:00
|
|
|
image: homeassistant/home-assistant
|
|
|
|
volumes:
|
2020-01-14 12:56:01 +00:00
|
|
|
- /docker/homeautomation/home-assistant:/config
|
2019-10-27 11:44:08 +00:00
|
|
|
network_mode: host
|
|
|
|
depends_on:
|
|
|
|
- deconz
|
2019-10-28 09:24:19 +00:00
|
|
|
- mosquitto
|
2019-10-27 11:44:08 +00:00
|
|
|
|
|
|
|
deconz:
|
|
|
|
container_name: deconz
|
|
|
|
image: marthoc/deconz
|
|
|
|
restart: always
|
|
|
|
environment:
|
2019-10-27 14:50:30 +00:00
|
|
|
DECONZ_WEB_PORT: 8083
|
|
|
|
DECONZ_WS_PORT: 8084
|
2019-10-27 13:14:27 +00:00
|
|
|
DECONZ_VNC_PORT: 5901
|
2019-10-27 14:50:30 +00:00
|
|
|
DECONZ_VNC_MODE: 1
|
2019-11-10 14:43:52 +00:00
|
|
|
DECONZ_VNC_PASSWORD: '${DECONZ_VNC_PASSWORD}'
|
2019-10-27 17:19:17 +00:00
|
|
|
DEBUG_OTAU: 1
|
2019-10-27 13:14:27 +00:00
|
|
|
network_mode: host
|
2019-10-27 11:44:08 +00:00
|
|
|
volumes:
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2020-01-14 12:56:01 +00:00
|
|
|
- /docker/homeautomation/deconz:/root/.local/share/dresden-elektronik/deCONZ
|
2019-10-27 11:44:08 +00:00
|
|
|
devices:
|
2019-10-27 13:14:27 +00:00
|
|
|
- /dev/ttyACM0
|
2019-10-27 11:44:08 +00:00
|
|
|
|
2019-10-27 13:14:27 +00:00
|
|
|
node-red:
|
2019-10-27 13:28:28 +00:00
|
|
|
container_name: node-red
|
2019-10-27 11:44:08 +00:00
|
|
|
image: nodered/node-red
|
2019-10-27 14:32:31 +00:00
|
|
|
restart: always
|
|
|
|
environment:
|
2019-11-10 14:43:52 +00:00
|
|
|
TZ: 'Europe/Helsinki'
|
2019-10-27 11:44:08 +00:00
|
|
|
ports:
|
2019-11-10 14:43:52 +00:00
|
|
|
- '1880:1880'
|
2019-10-27 11:44:08 +00:00
|
|
|
volumes:
|
2020-01-14 12:56:01 +00:00
|
|
|
- /docker/homeautomation/node-red:/data
|
2019-10-27 11:44:08 +00:00
|
|
|
depends_on:
|
|
|
|
- home-assistant
|
2019-10-27 13:14:27 +00:00
|
|
|
|
|
|
|
portainer:
|
|
|
|
container_name: portainer
|
|
|
|
image: portainer/portainer
|
2019-10-27 14:32:31 +00:00
|
|
|
restart: always
|
2019-11-11 06:30:37 +00:00
|
|
|
ports:
|
|
|
|
- '9000:9000'
|
2019-10-27 13:14:27 +00:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2020-01-14 12:56:01 +00:00
|
|
|
- /docker/homeautomation/portainer:/data
|
2019-10-27 19:10:22 +00:00
|
|
|
|
|
|
|
mosquitto:
|
|
|
|
container_name: mosquitto
|
|
|
|
image: eclipse-mosquitto
|
|
|
|
restart: always
|
|
|
|
network_mode: host
|
|
|
|
volumes:
|
2020-01-14 12:56:01 +00:00
|
|
|
- /docker/homeautomation/mosquitto:/mosquitto
|
2019-11-10 14:43:52 +00:00
|
|
|
|
2019-11-10 19:29:03 +00:00
|
|
|
mariadb:
|
2020-02-02 19:14:37 +00:00
|
|
|
container_name: mariadb-hass
|
2019-11-10 19:29:03 +00:00
|
|
|
image: mariadb
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
2019-11-11 06:30:37 +00:00
|
|
|
volumes:
|
2020-01-14 12:56:01 +00:00
|
|
|
- /docker/homeautomation/mariadb:/var/lib/mysql
|