more workers for larger sites or long running pages
This commit is contained in:
parent
646b6b7a82
commit
448458f3f4
@ -14,13 +14,21 @@ RUN BUILD_DEPS="libmcrypt-dev libldap2-dev" && \
|
|||||||
RUN { \
|
RUN { \
|
||||||
echo "upload_max_filesize = 512M"; \
|
echo "upload_max_filesize = 512M"; \
|
||||||
echo "post_max_size = 512M"; \
|
echo "post_max_size = 512M"; \
|
||||||
echo "max_input_time = 600"; \
|
echo "max_input_time = 300"; \
|
||||||
echo "max_execution_time = 600"; \
|
echo "max_execution_time = 300"; \
|
||||||
} > /usr/local/etc/php/conf.d/nameless.ini
|
} > /usr/local/etc/php/conf.d/nameless.ini
|
||||||
|
|
||||||
|
RUN { \
|
||||||
|
echo "[www]"; \
|
||||||
|
echo "pm.max_children = 32"; \
|
||||||
|
echo "pm.start_servers = 1"; \
|
||||||
|
echo "pm.min_spare_servers = 1"; \
|
||||||
|
echo "pm.max_spare_servers = 4" ; \
|
||||||
|
} > /usr/local/etc/php-fpm.d/nameless.conf
|
||||||
|
|
||||||
ADD entrypoint.sh /
|
ADD entrypoint.sh /
|
||||||
|
|
||||||
ARG VERSION=v2.0.0-pr8
|
ARG VERSION=v2.0.0-pr9
|
||||||
ENV VERSION=${VERSION}
|
ENV VERSION=${VERSION}
|
||||||
|
|
||||||
# Used by website to know if it runs using our docker images for statistics
|
# Used by website to know if it runs using our docker images for statistics
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user