version: '3' services: homeassistant: container_name: homeassistant image: "ghcr.io/home-assistant/home-assistant:stable" volumes: - homeassistant_config:/config - /etc/localtime:/etc/localtime:ro restart: unless-stopped privileged: true network_mode: host environment: - DOMAIN_ROOT=${DOMAIN_ROOT} volumes: homeassistant_config: external: true