docker
docker copied to clipboard
use var PHP_OPCACHE_MEMORY_CONSUMPTION for configuration
I think maybe using "sed" to change original files? https://github.com/nextcloud/docker/blob/master/27/fpm/Dockerfile#L99-L103
using sed
in startup script to replace opcache.memory_consumption=128
by opcache.memory_consumption=${PHP_OPCACHE_MEMORY_CONSUMTION}
?
using
sed
in startup script to replaceopcache.memory_consumption=128
byopcache.memory_consumption=${PHP_OPCACHE_MEMORY_CONSUMTION}
?
Sorry, That all version was build by template files, your code is right. But I think that can also add ENV jit_buffer_size also.
This requires some documentation in the README.
See also https://github.com/nextcloud/docker/pull/2185#issuecomment-2027362851
This is a common request downstream in nextcloud/helm. If this PR was re-submitted with the suggested fixes here, would it still be viable? I see there was conversation #2185, but I can't tell if that means this PR should be closed?