services: home-assistant: container_name: home-assistant image: ghcr.io/home-assistant/home-assistant:2026.2.2@sha256:3e2dff545c46e91f4ab2b21597016011d76d0de58bc8eaf51d75e841f337bf88 restart: unless-stopped volumes: - ${APPDATA_PATH}/home-assistant/config:/config - /etc/localtime:/etc/localtime:ro ports: - ${PORT}:8123 networks: - frontend healthcheck: test: "curl --connect-timeout 10 --silent -f http://127.0.0.1:8123/ || exit 1" interval: 20s timeout: 10s retries: 3 start_period: 30s networks: frontend: external: true