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:
parent
c8e4aede02
commit
14f7ccb090
|
|
@ -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`)"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue