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

14 lines
370 B
YAML

---
services:
homeassistant:
container_name: homeassistant
image: ghcr.io/home-assistant/home-assistant:2024.5.0
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