ylazakovich/Compose DevOps Healthcheck
Runs docker compose and validates container health
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| compose-files | List of docker-compose files (one per line) | yes | docker-compose.yml |
| compose-services | List of services to check (space-separated). Defaults to all services when omitted; ignored when docker-command is set. | no | "" |
| services | DEPRECATED: use compose-services. | no | "" |
| timeout | Healthcheck timeout per service in seconds | no | 120 |
| log-lines | Number of healthcheck/container log lines to show on failure | no | 25 |
| additional-compose-args | Additional args for docker compose (e.g. --quiet-pull or --build) | no | "" |
| compose-profiles | One or more compose profiles (space or newline separated). Ignored when docker-command is set. | no | "" |
| docker-command | Full docker compose command to execute instead of compose-files/services (e.g. docker compose -f docker-compose.yml up -d web) | no | "" |
| compose-project-name | Explicit docker compose project name (overridden by -p/--project-name in docker-command). | no | "" |
| auto-apply-project-name | When true, resolve and export COMPOSE_PROJECT_NAME and write it to project-name-env-file. | no | false |
| project-name-env-file | Env file path to write COMPOSE_PROJECT_NAME when auto-apply-project-name is enabled. | no | system.env |
| report-format | Healthcheck report format: text | json | both | no | text |
Outputs
| name | description |
|---|---|
| summary_b64 | Base64-encoded human-readable output of healthcheck |
| report_json_b64 | Base64-encoded machine-readable JSON healthcheck report (when enabled) |