Fix healthcheck in Docker files when SYSTEM_ROOTURIPATH is specified (#5954)

This commit is contained in:
unlair
2026-04-12 17:44:04 -04:00
committed by GitHub
parent a3e45bc182
commit 3d17f0409f
21 changed files with 21 additions and 21 deletions

View File

@@ -135,7 +135,7 @@ services:
limits:
memory: 4G
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8080/api/v1/info/status | grep -q 'UP' && curl -fL http://localhost:8080/ | grep -q 'Please sign in'"]
test: ["CMD-SHELL", "curl -f http://localhost:8080$${SYSTEM_ROOTURIPATH:-''}/api/v1/info/status | grep -q 'UP' && curl -fL http://localhost:8080/ | grep -q 'Please sign in'"]
interval: 5s
timeout: 10s
retries: 16