homeserver/smartHome/docker-compose.yaml

46 lines
1.3 KiB
YAML
Raw Normal View History

2021-01-09 20:40:51 +01:00
services:
homeassistant:
image: ghcr.io/home-assistant/home-assistant:stable
2021-01-09 20:40:51 +01:00
volumes:
- ${VOLUMES_PATH}/homeassistent:/config
2023-01-12 10:03:26 +01:00
- /run/dbus:/run/dbus:ro
2021-01-09 20:40:51 +01:00
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"
2021-01-09 20:40:51 +01:00
deconz:
2022-03-02 18:17:40 +01:00
image: deconzcommunity/deconz:stable
2021-01-09 20:40:51 +01:00
network_mode: host
privileged: true
restart: unless-stopped
volumes:
2022-03-02 18:17:40 +01:00
- ${VOLUMES_PATH}/deCONZ:/opt/deCONZ
2021-01-09 20:40:51 +01:00
- /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"