Skip to content

Commit 1801d57

Browse files
authored
Merge pull request #6433 from nextcloud/enh/6422/increase-default-shm-size
nextcloud: increase apc.shm_size to 64M to match the docker default shm-size
2 parents d991a18 + 25da732 commit 1801d57

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Containers/nextcloud/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,10 @@ RUN set -ex; \
118118
echo 'opcache.jit_buffer_size=8M'; \
119119
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
120120
\
121-
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
121+
{ \
122+
echo 'apc.enable_cli=1'; \
123+
echo 'apc.shm_size=64M'; \
124+
} >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
122125
\
123126
{ \
124127
echo 'memory_limit=${PHP_MEMORY_LIMIT}'; \

0 commit comments

Comments
 (0)