fix(scribus): add healthcheck override for scribus-novnc

The Dockerfile's healthcheck hit a nonexistent /health endpoint, causing
permanent "unhealthy" status. Override with a check that accepts any HTTP
response (including 401) as proof the service is running.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-04-01 15:21:30 -07:00
parent c8e4aede02
commit 14f7ccb090
1 changed files with 6 additions and 0 deletions

View File

@ -334,6 +334,12 @@ services:
- SCREEN_WIDTH=1920 - SCREEN_WIDTH=1920
- SCREEN_HEIGHT=1080 - SCREEN_HEIGHT=1080
- SCREEN_DEPTH=24 - SCREEN_DEPTH=24
healthcheck:
test: ["CMD-SHELL", "curl -so /dev/null -w '%{http_code}' http://localhost:8765/ | grep -q '^[2-4]'"]
interval: 30s
timeout: 5s
retries: 3
start_period: 30s
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.scribus-novnc.rule=Host(`design.rspace.online`)" - "traefik.http.routers.scribus-novnc.rule=Host(`design.rspace.online`)"