Skip to content

Deploy script health check uses wrong path #22

@RonaldRonnie

Description

@RonaldRonnie

Description:

scripts/deploy.sh checks application startup with:

curl -s "http://localhost:$PORT/api/health"

Spring Boot Actuator exposes the health endpoint at /actuator/health. With server.servlet.context-path=/api, the correct URL is http://localhost:$PORT/api/actuator/health, not /api/health. The script may incorrectly report failed startup or hang.

Acceptance criteria:

  • Health check in deploy.sh uses /api/actuator/health (or the actual health URL from config)
  • Deployment docs (e.g. docs/deployment/README.md) list the correct health URL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions