Skip to content

WA-VERIFY-025: Add docker services health-check script (ES/Mongo/Redis) #860

@kitcommerce

Description

@kitcommerce

Summary

Local test runs require Docker services (Elasticsearch, MongoDB, Redis). We routinely lose time when one service is missing or unhealthy.

Objective

Add a lightweight health-check script that confirms required docker-compose services are running and reachable before tests.

Acceptance Criteria

  • Add script/docker_services_health (name flexible) that:
    • Checks docker ps for the expected service containers (mongo/redis/elasticsearch)
    • Prints a short PASS/FAIL summary
    • Includes a hint to start services (e.g. docker compose up -d <services>) and references required env vars if relevant
    • Exits non-zero when any required service is missing
  • Script is safe to run from repo root

Verification Plan

  • Stop one container → script should FAIL and name the missing service
  • Start all containers → script should PASS

Client Impact

None (developer tooling).

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