Increase number of child processes for FPM

This commit is contained in:
ellite 2023-11-18 14:42:19 +01:00
parent f9324bf011
commit e03ebf3e53

View File

@ -53,6 +53,10 @@ RUN chown -R www-data:www-data /var/www/html
RUN chmod +x /var/www/html/startup.sh RUN chmod +x /var/www/html/startup.sh
# SETUP PHP-FPM CONFIG SETTINGS (max_children / max_requests)
RUN echo 'pm.max_children = 15' >> /usr/local/etc/php-fpm.d/zz-docker.conf && \
echo 'pm.max_requests = 500' >> /usr/local/etc/php-fpm.d/zz-docker.conf
# Expose port 80 for Nginx # Expose port 80 for Nginx
EXPOSE 80 EXPOSE 80