Skip to content
Commits on Source (2)
......@@ -9,6 +9,8 @@ RUN rm ./install.sh ./install-list
FROM nextcloud:${VERSION}-fpm-alpine
COPY redis.ini /usr/local/etc/php/conf.d/
COPY opcache-recommended.ini /usr/local/etc/php/conf.d/opcache.ini
COPY php-fpm.conf /usr/local/etc/php-fpm.conf
COPY --chown=www-data:root config/* /usr/src/nextcloud/config/
COPY --from=apps --chown=www-data:root /apps/* /usr/src/nextcloud/apps/
COPY --chown=www-data:root ./apps/indie_external /usr/src/nextcloud/apps/indie_external
......
opcache.enable=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1
; This file was initially adapated from the output of: (on PHP 5.6)
; grep -vE '^;|^ *$' /usr/local/etc/php-fpm.conf.default
[global]
error_log = /proc/self/fd/2
daemonize = no
[www]
; if we send this to /proc/self/fd/1, it never appears
; Ensure worker stdout and stderr are sent to the main error log.
access.log = /proc/self/fd/2
user = www-data
group = www-data
listen = [::]:9000
pm = dynamic
pm.max_children = 100
pm.start_servers = 5
pm.min_spare_servers = 5
pm.max_spare_servers = 10
clear_env = no