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:
parent
a36751b7ca
commit
7e898d7b22
1 changed files with 3 additions and 3 deletions
|
|
@ -15,7 +15,7 @@ services:
|
||||||
- /home/padriano/projects/duckdns/config:/config
|
- /home/padriano/projects/duckdns/config:/config
|
||||||
|
|
||||||
homeassistant:
|
homeassistant:
|
||||||
image: homeassistant/home-assistant:2024.5.4
|
image: homeassistant/home-assistant:2026.5.4
|
||||||
container_name: homeassistant
|
container_name: homeassistant
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
|
|
@ -31,11 +31,11 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- /home/padriano/projects/ha/config:/config
|
- /home/padriano/projects/ha/config:/config
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-fsSL", "http://localhost:8123/api/"]
|
test: ["CMD", "curl", "-fsSL", "http://localhost:8123/manifest.json"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 5
|
retries: 5
|
||||||
start_period: 60s
|
start_period: 2m
|
||||||
|
|
||||||
forgejo:
|
forgejo:
|
||||||
image: codeberg.org/forgejo/forgejo:10
|
image: codeberg.org/forgejo/forgejo:10
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue