upgrade Home Assistant 2024.5.4 → 2026.5.4

Bump the homeassistant image to 2026.5.4 (latest 2026.5 patch) and adjust
the healthcheck for modern HA:

- swap the probe from /api/ (now requires auth, returned 401 → spurious
  "unhealthy") to the auth-free /manifest.json
- set start_period to 2m; the recorder schema migration (43→48) completed
  in milliseconds on this 149M SQLite DB, so the temporary 30m headroom
  used during the upgrade is no longer needed

Verified post-upgrade: container healthy, version 2026.5.4, local
/manifest.json 200, reverse proxy 200, trusted_proxies /12 validated.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
padriano 2026-06-04 15:52:21 +01:00
parent a36751b7ca
commit 7e898d7b22

View file

@ -15,7 +15,7 @@ services:
- /home/padriano/projects/duckdns/config:/config
homeassistant:
image: homeassistant/home-assistant:2024.5.4
image: homeassistant/home-assistant:2026.5.4
container_name: homeassistant
restart: unless-stopped
ports:
@ -31,11 +31,11 @@ services:
volumes:
- /home/padriano/projects/ha/config:/config
healthcheck:
test: ["CMD", "curl", "-fsSL", "http://localhost:8123/api/"]
test: ["CMD", "curl", "-fsSL", "http://localhost:8123/manifest.json"]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
start_period: 2m
forgejo:
image: codeberg.org/forgejo/forgejo:10