photoprism: fix permanently unhealthy healthcheck under ingress (#3187)

* photoprism: fix permanently unhealthy healthcheck under ingress (#3183)

photoprism status queries /api/v1/status at the server root, but with
ingress enabled PhotoPrism is served under the ingress sub-path (set via
PHOTOPRISM_SITE_URL in cont-init, which the healthcheck never sees), so
the check always failed. Use the repo's standard curl healthcheck,
without -f so any HTTP response counts as healthy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* photoprism: reword CHANGELOG entry for healthcheck fix

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: BirdNET-Go Addon Builder <addon-builder@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
authored and GitHub committed 2026-11-03 08:54:11 +01:00
1 parent ea2967727c
commit 9c70c0d129
3 files changed
+5 -2

No files matched your search

+3
View File
@@ -1,4 +1,7 @@
## 2026.10.29.1 (03-11-2026)
- Fix permanent unhealthy status by probing PhotoPrism's local HTTP port with curl instead of relying on `photoprism status`, which picks an unsuitable URL inside the healthcheck process (#3183)
## 2026.10.29 (2026-10-29)
- Update to latest version from photoprism/photoprism
- Upstream tag : ubuntu-2026-10-29
+1 -1
View File
@@ -141,4 +141,4 @@ HEALTHCHECK \
--retries=5 \
--start-period=30s \
--timeout=60s \
CMD photoprism status || exit 1
CMD curl -A "HealthCheck: Docker/1.0" -s -o /dev/null "http://127.0.0.1:${HEALTH_PORT}${HEALTH_URL}" || exit 1
+1 -1
View File
@@ -131,5 +131,5 @@ services:
slug: photoprism
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: "2026.10.29"
version: "2026.10.29.1"
video: true