add ability to set php-workers/servers/children

This commit is contained in:
2018-06-07 11:46:47 +02:00
parent 1a6bfd4039
commit 75b811dac0
9 changed files with 40 additions and 8 deletions

View File

@ -4,7 +4,11 @@ ARG PRIVATEBIN_VER=1.1.1
ENV GID=991 UID=991 \
UPLOAD_MAX_SIZE=10M \
MEMORY_LIMIT=128M
MEMORY_LIMIT=128M \
PHP_MAX_CHILDREN=15 \
PHP_START_SERVERS=2 \
PHP_MIN_SPARE_SERVERS=1 \
PHP_MAX_SPARE_SERVERS=6
RUN BUILD_DEPS="tar libressl ca-certificates" \
&& apk -U upgrade && apk add $BUILD_DEPS \