mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-02-25 22:38:27 +08:00
Merge pull request #3317 from nextcloud/enh/noid/limit-mastercontainer-to-localhost
This commit is contained in:
commit
8b0b0d0ad8
1 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,8 @@ RUN set -ex; \
|
|||
sed -i 's/^pm = dynamic/pm = ondemand/' /usr/local/etc/php-fpm.d/www.conf; \
|
||||
sed -i 's/^pm.max_children =.*/pm.max_children = 80/' /usr/local/etc/php-fpm.d/www.conf; \
|
||||
sed -i 's|access.log = /proc/self/fd/2|access.log = /proc/self/fd/1|' /usr/local/etc/php-fpm.d/docker.conf; \
|
||||
grep -q ';listen.allowed_clients' /usr/local/etc/php-fpm.d/www.conf; \
|
||||
sed -i 's|;listen.allowed_clients.*|listen.allowed_clients = 127.0.0.1,::1|' /usr/local/etc/php-fpm.d/www.conf; \
|
||||
\
|
||||
apk add --no-cache git; \
|
||||
wget https://getcomposer.org/installer -O - | php -- --install-dir=/usr/local/bin --filename=composer; \
|
||||
|
|
Loading…
Reference in a new issue