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:
|
|
|
|
- /homeautomation-config/home-assistant:/config
|
|
|
|
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
|
|
|
|
- /homeautomation-config/deconz:/root/.local/share/dresden-elektronik/deCONZ
|
|
|
|
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:
|
|
|
|
- /homeautomation-config/node-red:/data
|
|
|
|
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
|
|
|
|
- /homeautomation-config/portainer:/data
|
2019-10-27 19:10:22 +00:00
|
|
|
|
|
|
|
mosquitto:
|
|
|
|
container_name: mosquitto
|
|
|
|
image: eclipse-mosquitto
|
|
|
|
restart: always
|
|
|
|
network_mode: host
|
|
|
|
volumes:
|
|
|
|
- /homeautomation-config/mosquitto:/mosquitto
|
2019-11-10 14:43:52 +00:00
|
|
|
|
2019-11-10 19:29:03 +00:00
|
|
|
mariadb:
|
2019-11-10 19:30:00 +00:00
|
|
|
container_name: mariadb
|
2019-11-10 19:29:03 +00:00
|
|
|
image: mariadb
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
|
|
|
ports:
|
|
|
|
- '3308:3306'
|
2019-11-11 06:30:37 +00:00
|
|
|
volumes:
|
|
|
|
- /homeautomation-config/mariadb:/var/lib/mysql
|
2019-11-22 07:30:11 +00:00
|
|
|
|
|
|
|
almond:
|
|
|
|
container_name: almond
|
|
|
|
image: standfordoval/almond-server:latest-portable
|
|
|
|
ports:
|
|
|
|
- '3006:3000'
|
|
|
|
volumes:
|
|
|
|
- /homeautomation-config/almond
|
|
|
|
# snips:
|
|
|
|
# container_name: snips
|
|
|
|
# image: reekymarko/snips
|
|
|
|
# restart: always
|
|
|
|
# environment:
|
|
|
|
# ENABLE_MQTT: 'no'
|
|
|
|
# ENABLE_HOTWORD_SERVICE: 'no'
|
|
|
|
# volumes:
|
|
|
|
# - /homeautomation-config/snips/log/:/var/log
|
|
|
|
# - /homeautomation-config/snips/snips.toml:/etc/snips.toml
|
|
|
|
# - /homeautomation-config/snips/assistant:/usr/share/snips
|