Merge pull request 'fix: add max children in docker file' (#129) from dev into master

Reviewed-on: WillaEngine-Project/WillaEngine#129
pull/134/head
f.saravi 3 years ago
commit 27e7392f20

@ -7,7 +7,7 @@ RUN apt install -y sendmail libpng-dev
RUN docker-php-ext-install gd 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 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 RUN printf 'pm.max_children = 50\npm.min_spare_servers = 8\npm.max_spare_servers = 16' >> /usr/local/etc/php-fpm.d/zz-docker.conf
COPY database /var/www/database COPY database /var/www/database

Loading…
Cancel
Save