Skip to content

Add docker-compose health checks for backend and frontend #414

@ritik4ever

Description

@ritik4ever

Problem

docker-compose.yml exists but health checks may be missing. docker compose up reports containers healthy immediately.

Scope

Add healthcheck blocks and depends_on: condition: service_healthy.

Acceptance criteria

  • Backend: curl -f http://localhost:3001/api/health
  • Frontend: curl -f http://localhost:3000
  • depends_on: condition: service_healthy for frontend → backend
  • Interval 10s, timeout 5s, retries 3 documented in compose comments

Complexity: Easy · 75 points

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programdevopsCI/CD, Docker, infradockerDocker / compose

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions