PHP-FPM Docker Optimizer

•
45
•

Optimizes PHP-FPM configurations for Docker containers to maximize performance and resource efficiency based on specific workload types.

The optimize-docker-php-fpm skill provides production-ready PHP-FPM tuning for Docker environments, moving beyond default settings to ensure optimal resource allocation. It automates complex memory calculations and process manager configurations—whether for high-throughput APIs or long-running workers—while incorporating essential Docker-specific logging and health check standards. By aligning PHP-FPM settings with actual container limits, this skill helps developers eliminate memory leaks, reduce latency, and significantly increase request capacity in containerized PHP applications.

Características Principales

01Automated memory calculation for optimal max_children settings based on container limits
02Workload-specific tuning profiles for APIs, background workers, and mixed applications
03Real-time monitoring setup including FPM status paths and ping endpoints
0445 GitHub stars
05Integrated Docker-specific logging (stdout/stderr) and health check configurations
06Support for Static, Dynamic, and On-demand process manager modes with best-practice formulas

Casos de Uso

01Optimizing resource-heavy background worker containers for long-running tasks and memory stability
02Scaling a PHP API to handle high-traffic production loads with predictable memory usage
03Modernizing legacy PHP applications for containerized environments with proper logging and health checks