From 612a15e4d8699a63144469da4a7bde8ee22d7e2b Mon Sep 17 00:00:00 2001 From: farid Date: Sat, 14 Aug 2021 20:40:27 +0430 Subject: [PATCH] fix: add max children in docker file --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 145e0d1..bdc306e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ RUN apt install -y sendmail libpng-dev RUN docker-php-ext-install gd RUN printf 'upload_max_filesize=130M;\npost_max_size=130M;\nmax_execution_time=600;\nmax_input_time=600;\n' >> /usr/local/etc/php/conf.d/docker-php-memlimit.ini; +RUN echo 'pm.max_children = 100' >> /usr/local/etc/php-fpm.d/zz-docker.conf COPY database /var/www/database