Problem
Currently, service names are hard-coded in both the GitHub workflow () and the file. This creates a maintenance burden where every addition or removal of services in must be manually duplicated in the workflow file. A single discrepancy can silently break the health-check process.
Proposed Solution
Consider one of these approaches:
- Export the service list to a single source of truth (e.g., in the example root) and reference it from both the Compose Action and the health-check steps
- Generate the service array dynamically using
docker compose config --services
This would ensure consistency and reduce maintenance overhead when services are added or removed.
Context
This issue was identified during code review of PR #33.
Related Links: