Skip to content

Instantly share code, notes, and snippets.

@tartakynov
Last active February 1, 2023 01:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tartakynov/3a170b9b79f1552b8710c68a8eec3d3d to your computer and use it in GitHub Desktop.
Save tartakynov/3a170b9b79f1552b8710c68a8eec3d3d to your computer and use it in GitHub Desktop.
Home Assistant docker compose
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