This skill provides an automated approach to tuning PHP application stacks within Docker environments, ensuring optimal performance and stability. It applies industry-standard best practices for resource allocation across common stack components like PHP-FPM, MySQL, Nginx, and Redis, preventing 'noisy neighbor' issues and Out-of-Memory (OOM) kills. By standardizing logging constraints, memory reservations, and ephemeral data handling through tmpfs, it transforms generic Docker setups into production-grade, resilient infrastructures ready for high-load scenarios.
Key Features
01Ephemeral data optimization using tmpfs and shared memory (shm_size)
02Precision resource allocation (CPU/Memory) for PHP-FPM and database services
03Advanced service scaling and replica configuration for high availability
04Automated logging management to prevent unbounded disk growth
0545 GitHub stars
06Service health check and ulimit configuration for system reliability