We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6791748 commit 6f2345cCopy full SHA for 6f2345c
Dockerfile-alpine.template
@@ -79,11 +79,12 @@ RUN set -ex; \
79
# see https://docs.nextcloud.com/server/latest/admin_manual/installation/server_tuning.html#enable-php-opcache
80
ENV PHP_MEMORY_LIMIT 512M
81
ENV PHP_UPLOAD_LIMIT 512M
82
+ENV PHP_OPCACHE_MEMORY_CONSUMTION 128
83
RUN { \
84
echo 'opcache.enable=1'; \
85
echo 'opcache.interned_strings_buffer=32'; \
86
echo 'opcache.max_accelerated_files=10000'; \
- echo 'opcache.memory_consumption=128'; \
87
+ echo 'opcache.memory_consumption=${PHP_OPCACHE_MEMORY_CONSUMTION}'; \
88
echo 'opcache.save_comments=1'; \
89
echo 'opcache.revalidate_freq=60'; \
90
echo 'opcache.jit=1255'; \
0 commit comments