Skip to content
Snippets Groups Projects
Commit 47ff1295 authored by Robert Lange's avatar Robert Lange
Browse files

refs #24708 [finc] set www.conf to raise max child processes

parent 69ae3684
No related merge requests found
......@@ -17,7 +17,7 @@
# @license https://opensource.org/licenses/GPL-3.0 GNU GPLv3
FROM php:8.0-fpm-alpine
RUN docker-php-ext-install opcache
# RUN docker-php-ext-install opcache
RUN apk add --update linux-headers
RUN apk add --no-cache $PHPIZE_DEPS freetype-dev libxml2-dev icu-dev libxslt-dev \
&& pecl install xdebug-3.2.0 \
......@@ -38,4 +38,5 @@ RUN apk add --no-cache \
RUN docker-php-ext-configure gd --with-jpeg --with-webp --with-freetype
RUN docker-php-ext-install gd
COPY php.ini /usr/local/etc/php/conf.d/php.ini
\ No newline at end of file
COPY php.ini /usr/local/etc/php/conf.d/php.ini
COPY www.conf /usr/local/etc/php-fpm.d/www.conf
\ No newline at end of file
[www]
user = www-data
group = www-data
listen = 127.0.0.1:9000
pm = dynamic
pm.max_children = 50
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment