christianlempa-boilerplates/docker-compose/homeassistant/compose.yaml

14 lines
370 B
YAML

---
services:
homeassistant:
container_name: homeassistant
image: ghcr.io/home-assistant/home-assistant:2024.9.2
volumes:
- ./config:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
# devices:
# - /dev/ttyACMO # (optional) Add serial devices to the container
privileged: true
restart: unless-stopped