name: homeassistant services: homeassistant: container_name: homeassistant image: "ghcr.io/home-assistant/home-assistant:stable" volumes: - "${HOMEASSISTANT_DATA_PATH}:/config" - /etc/localtime:/etc/localtime:ro restart: always privileged: true network_mode: host