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