services: homeassistant: container_name: homeassistant image: homeassistant/home-assistant:2026.2.0 network_mode: host privileged: true restart: unless-stopped volumes: - /opt/homeassistant:/config - /etc/localtime:/etc/localtime:ro extra_hosts: - "host:${HOST_IP}" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8123"] interval: 30s timeout: 10s retries: 3