Home-Assistant
Posted
š” Open source home automation that puts local control and privacy first.
# file: `docker-compose.yml`
services:
homeassistant:
container_name: homeassistant
image: ${HONEYPI_IMAGE_REGISTRY_HOST:-docker.io}/homeassistant/home-assistant:${HONEYPI_HOMEASSISTANT_VERSION:-latest}
restart: unless-stopped
privileged: true
ports:
- ${HONEYPI_HOMEASSISTANT_PORT:-8123}:8123
volumes:
- ${HONEYPI_DATA}/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
labels:
- traefik.enable=${HONEYPI_HOMEASSISTANT_TRAEFIK_ENABLE:-false}
- traefik.http.routers.homeassistant.rule=Host(`${HONEYPI_HOMEASSISTANT_HOST}`)
- traefik.http.routers.homeassistant.entrypoints=websecure
- traefik.http.routers.homeassistant.tls.certresolver=resolver
- traefik.http.routers.homeassistant.service=homeassistant
- traefik.http.services.homeassistant.loadbalancer.server.port=8123