Last active
February 1, 2023 01:15
-
-
Save tartakynov/3a170b9b79f1552b8710c68a8eec3d3d to your computer and use it in GitHub Desktop.
Home Assistant docker compose
This file contains hidden or 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
version: '3' | |
services: | |
homeassistant: | |
container_name: homeassistant | |
image: "ghcr.io/home-assistant/home-assistant:stable" | |
environment: | |
- TZ=America/Toronto | |
volumes: | |
- /media/usb/homeassistant/config:/config | |
- /etc/localtime:/etc/localtime:ro | |
- /run/dbus:/run/dbus:ro | |
restart: unless-stopped | |
privileged: true | |
network_mode: host |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment