homeserver/smartHome/docker-compose.yaml

46 lines
1.3 KiB
YAML

version: "3.3"
services:
homeassistant:
image: homeassistant/odroid-xu-homeassistant
volumes:
- ${VOLUMES_PATH}/homeassistent:/config
environment:
- TZ=Europe/Berlin
restart: unless-stopped
network_mode: host
labels:
- "traefik.enable=true"
- "traefik.http.routers.hassi.rule=Host(`hassi.${DOMAIN}`)"
- "traefik.http.routers.hassi.entrypoints=web"
- "traefik.http.services.hassi.loadbalancer.server.port=8123"
- "docker.group=smartHome"
deconz:
image: marthoc/deconz
network_mode: host
privileged: true
restart: unless-stopped
volumes:
- ${VOLUMES_PATH}/deCONZ:/root/.local/share/dresden-elektronik/deCONZ
- /etc/localtime:/etc/localtime:ro
devices:
- /dev/ttyACM0
environment:
- DECONZ_DEVICE=/dev/ttyACM0
- DECONZ_WEB_PORT=8080
- DECONZ_WS_PORT=8443
- DEBUG_INFO=1
- DEBUG_APS=0
- DEBUG_ZCL=0
- DEBUG_ZDP=0
- DEBUG_OTAU=0
- TZ=Europe/Berlin
- UDEV=1
labels:
- "traefik.enable=true"
- "traefik.http.routers.deconz.rule=Host(`deconz.${DOMAIN}`)"
- "traefik.http.routers.deconz.entrypoints=web"
- "traefik.http.services.deconz.loadbalancer.server.port=8080"
- "docker.group=smartHome"