Last active
March 5, 2025 18:30
-
-
Save peyanski/4d803963e890955886d40ae00d1cfb90 to your computer and use it in GitHub Desktop.
docker-compose.yml file for Home Assistant for Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
homeassistant: | |
container_name: ha | |
image: ghcr.io/home-assistant/home-assistant:stable | |
volumes: | |
- 'C:\homeassistant:/config' | |
environment: | |
- TZ=Europe/Sofia # get your Time Zone from - https://en.wikipedia.org/wiki/List_of_tz_database_time_zones | |
# network_mode: host | |
ports: | |
- '8123:8123' | |
restart: always | |
# you can comment all the rows below if you don't need health check | |
healthcheck: | |
test: 'curl -m 90 -sLf http://localhost:8123 || date >> /config/healthcheck' #| pkill -9 python3' | |
interval: 90s | |
timeout: 60s | |
retries: 2 |
devices:
"attribute version is obsolete" You can remove the "version" part of the yml file :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this. But it doesn’t pick up usb devices like coral TPU or windows GPU for hardware acceleration. May you help with that please?