Docker Health Check Generator

•
45
•

Generates robust health check scripts and configurations for PHP-based Docker environments and microservices.

This skill automates the creation of comprehensive health monitoring for Dockerized PHP applications, ensuring your containers are truly functional before receiving traffic. It provides standardized scripts for PHP-FPM (using cgi-fcgi), HTTP endpoints, and multi-service combined checks. By integrating these checks into Dockerfiles and Docker Compose files with proper dependency ordering, developers can build resilient infrastructure that handles service recovery, graceful restarts, and startup sequencing automatically, which is essential for high-availability production environments.

Características Principales

01Creates HTTP health checks with configurable timeouts and status codes
02Configures Docker Compose healthcheck blocks with service dependency logic
03Generates PHP-FPM health checks using cgi-fcgi and /ping endpoints
0445 GitHub stars
05Builds combined multi-service health check scripts for production-grade reliability
06Automates Dockerfile HEALTHCHECK instructions and script permissions

Casos de Uso

01Ensuring database and cache dependencies are fully ready before application startup
02Standardizing health monitoring across complex multi-container PHP architectures
03Implementing automated service recovery for PHP microservices in production