Skip to content

[CT-85] Docker image HEALTHCHECK isn't verified to reflect the real /health status #1209

Description

@mftee

Overview

The README documents docker compose up -d --build stellar-doc-verifier and links a deployment guide, but there's no evident test confirming the Dockerfile's HEALTHCHECK instruction (if present) actually calls /health and correctly marks the container unhealthy when a dependency (Redis/Horizon) is down.

Tasks

  • Confirm the Dockerfile HEALTHCHECK targets the real /health endpoint with sensible interval/timeout/retries
  • Add an integration test (or documented manual check) that simulates a dependency outage and confirms docker inspect reports the container as unhealthy

Acceptance Criteria

  • A container with a simulated dependency outage is reported unhealthy by Docker within the configured healthcheck window

Notes for Contributors

Comment below to be assigned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions