mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-21 11:06:09 +02:00
Remove no longer needed static memory_limit='512M'
Signed-off-by: Alexander Sosna <alexander.sosna@credativ.de>
This commit is contained in:
parent
b1ef8e2e97
commit
3cbc36754f
2 changed files with 3 additions and 2 deletions
|
@ -74,6 +74,7 @@ RUN set -ex; \
|
||||||
|
|
||||||
# set recommended PHP.ini settings
|
# set recommended PHP.ini settings
|
||||||
# see https://docs.nextcloud.com/server/12/admin_manual/configuration_server/server_tuning.html#enable-php-opcache
|
# see https://docs.nextcloud.com/server/12/admin_manual/configuration_server/server_tuning.html#enable-php-opcache
|
||||||
|
ENV PHP_INI_MEMORY_LIMIT %%PHP_INI_MEMORY_LIMIT%%
|
||||||
RUN { \
|
RUN { \
|
||||||
echo 'opcache.enable=1'; \
|
echo 'opcache.enable=1'; \
|
||||||
echo 'opcache.interned_strings_buffer=8'; \
|
echo 'opcache.interned_strings_buffer=8'; \
|
||||||
|
@ -85,7 +86,7 @@ RUN { \
|
||||||
\
|
\
|
||||||
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
|
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
|
||||||
\
|
\
|
||||||
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \
|
touch /usr/local/etc/php/conf.d/memory-limit.ini; \
|
||||||
\
|
\
|
||||||
mkdir /var/www/data; \
|
mkdir /var/www/data; \
|
||||||
chown -R www-data:root /var/www; \
|
chown -R www-data:root /var/www; \
|
||||||
|
|
|
@ -98,7 +98,7 @@ RUN { \
|
||||||
\
|
\
|
||||||
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
|
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
|
||||||
\
|
\
|
||||||
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \
|
touch /usr/local/etc/php/conf.d/memory-limit.ini; \
|
||||||
\
|
\
|
||||||
mkdir /var/www/data; \
|
mkdir /var/www/data; \
|
||||||
chown -R www-data:root /var/www; \
|
chown -R www-data:root /var/www; \
|
||||||
|
|
Loading…
Add table
Reference in a new issue