2020-02-16 12:44:37 +00:00
|
|
|
version: "3"
|
2019-10-27 11:44:08 +00:00
|
|
|
services:
|
|
|
|
home-assistant:
|
|
|
|
container_name: home-assistant
|
|
|
|
image: homeassistant/home-assistant
|
2020-02-09 22:31:05 +00:00
|
|
|
environment:
|
|
|
|
- TZ=Europe/Helsinki
|
2019-10-27 11:44:08 +00:00
|
|
|
volumes:
|
2020-01-14 12:56:01 +00:00
|
|
|
- /docker/homeautomation/home-assistant:/config
|
2020-02-17 13:09:09 +00:00
|
|
|
- /tmp/ipmi:/ipmi
|
2020-02-04 15:23:04 +00:00
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2020-02-09 22:31:05 +00:00
|
|
|
restart: always
|
2020-02-13 19:24:50 +00:00
|
|
|
networks:
|
|
|
|
- home-assistant
|
|
|
|
- proxy
|
|
|
|
ports:
|
2020-02-16 12:44:37 +00:00
|
|
|
- "8123:8123"
|
2020-02-16 15:27:55 +00:00
|
|
|
depends_on:
|
|
|
|
- deconz
|
2020-02-16 20:09:02 +00:00
|
|
|
- mariadb
|
2020-02-13 19:24:50 +00:00
|
|
|
labels:
|
2020-02-16 12:44:37 +00:00
|
|
|
- "traefik.enable=true"
|
2020-02-13 19:24:50 +00:00
|
|
|
|
2020-02-16 12:44:37 +00:00
|
|
|
- "traefik.http.routers.home-assistant-redirect.entrypoints=http"
|
|
|
|
- "traefik.http.routers.home-assistant-redirect.rule=Host(`home.reekynet.com`)"
|
|
|
|
- "traefik.http.middlewares.http2https.redirectscheme.scheme=https"
|
|
|
|
- "traefik.http.routers.home-assistant-redirect.middlewares=http2https"
|
2020-02-13 19:24:50 +00:00
|
|
|
|
2020-02-16 12:44:37 +00:00
|
|
|
- "traefik.http.routers.home-assistant.entrypoints=https"
|
|
|
|
- "traefik.http.routers.home-assistant.rule=Host(`home.reekynet.com`)"
|
|
|
|
- "traefik.http.routers.home-assistant.tls=true"
|
|
|
|
- "traefik.http.routers.home-assistant.tls.certresolver=http"
|
|
|
|
- "traefik.http.routers.home-assistant.service=home-assistant"
|
|
|
|
- "traefik.docker.network=proxy"
|
|
|
|
- "traefik.http.services.home-assistant.loadbalancer.server.port=8123"
|
2019-10-27 11:44:08 +00:00
|
|
|
|
2020-02-16 15:27:55 +00:00
|
|
|
deconz:
|
|
|
|
container_name: deconz
|
|
|
|
image: marthoc/deconz
|
|
|
|
environment:
|
|
|
|
- TZ=Europe/Helsinki
|
|
|
|
- DECONZ_WEB_PORT=8083
|
|
|
|
- DECONZ_WS_PORT=8084
|
2020-02-16 20:15:54 +00:00
|
|
|
- DECONZ_UPNP=0
|
2020-02-16 15:27:55 +00:00
|
|
|
- DECONZ_VNC_PORT=5901
|
|
|
|
- DECONZ_VNC_MODE=1
|
|
|
|
- DECONZ_VNC_PASSWORD=${DECONZ_VNC_PASSWORD}
|
|
|
|
- DEBUG_OTAU=1
|
2020-02-16 20:15:54 +00:00
|
|
|
network_mode: host
|
2020-02-16 15:27:55 +00:00
|
|
|
volumes:
|
2020-02-16 16:21:38 +00:00
|
|
|
- /docker/homeautomation/deconz/deconz:/root/.local/share/dresden-elektronik/deCONZ
|
|
|
|
- /docker/homeautomation/deconz/otau:/root/otau
|
2020-02-16 15:27:55 +00:00
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
restart: always
|
|
|
|
devices:
|
|
|
|
- /dev/ttyACM0
|
|
|
|
|
2020-02-18 13:23:24 +00:00
|
|
|
mosquitto:
|
|
|
|
container_name: mosquitto
|
|
|
|
image: eclipse-mosquitto
|
|
|
|
environment:
|
|
|
|
- TZ=Europe/Helsinki
|
|
|
|
network_mode: host
|
|
|
|
volumes:
|
|
|
|
- /docker/homeautomation/mosquitto:/mosquitto
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
restart: always
|
|
|
|
|
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
|
2020-02-09 22:31:05 +00:00
|
|
|
environment:
|
|
|
|
- TZ=Europe/Helsinki
|
2020-02-13 19:24:50 +00:00
|
|
|
networks:
|
|
|
|
- home-assistant
|
|
|
|
- proxy
|
2019-10-27 11:44:08 +00:00
|
|
|
ports:
|
2020-02-16 12:44:37 +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
|
2020-02-04 15:23:04 +00:00
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2020-02-09 22:31:05 +00:00
|
|
|
restart: always
|
2019-10-27 11:44:08 +00:00
|
|
|
depends_on:
|
|
|
|
- home-assistant
|
2020-02-13 19:24:50 +00:00
|
|
|
labels:
|
2020-02-16 12:44:37 +00:00
|
|
|
- "traefik.enable=true"
|
2020-02-13 19:24:50 +00:00
|
|
|
|
2020-02-16 12:44:37 +00:00
|
|
|
- "traefik.http.routers.node-red-redirect.entrypoints=http"
|
|
|
|
- "traefik.http.routers.node-red-redirect.rule=Host(`node.reekynet.com`)"
|
|
|
|
- "traefik.http.middlewares.http2https.redirectscheme.scheme=https"
|
|
|
|
- "traefik.http.routers.node-red-redirect.middlewares=http2https"
|
2020-02-13 19:24:50 +00:00
|
|
|
|
2020-02-16 12:44:37 +00:00
|
|
|
- "traefik.http.routers.node-red.entrypoints=https"
|
|
|
|
- "traefik.http.routers.node-red.rule=Host(`node.reekynet.com`)"
|
|
|
|
- "traefik.http.routers.node-red.tls=true"
|
|
|
|
- "traefik.http.routers.node-red.tls.certresolver=http"
|
|
|
|
- "traefik.http.routers.node-red.service=node-red"
|
|
|
|
- "traefik.docker.network=proxy"
|
|
|
|
- "traefik.http.services.node.loadbalancer.server.port=1880"
|
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
|
|
|
|
environment:
|
2020-02-09 22:31:05 +00:00
|
|
|
- TZ=Europe/Helsinki
|
2019-11-10 19:29:03 +00:00
|
|
|
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
2020-02-13 19:24:50 +00:00
|
|
|
networks:
|
|
|
|
- home-assistant
|
2019-11-11 06:30:37 +00:00
|
|
|
volumes:
|
2020-01-14 12:56:01 +00:00
|
|
|
- /docker/homeautomation/mariadb:/var/lib/mysql
|
2020-02-04 15:23:04 +00:00
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2020-02-09 22:31:05 +00:00
|
|
|
restart: always
|
2020-02-13 19:24:50 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
home-assistant:
|
|
|
|
external: false
|
|
|
|
proxy:
|
|
|
|
external: true
|