Nextcloud via Docker - php.ini?

Hello community,

Im pretty new with Nextcloud and docker. Nevertheless, Nextcloud is running pretty well on Docker. However since upgrading to Nextcloud 12, I always get the hint in the admin panel to configure opcache. The message is referring to the php.ini. Unfortunately I cannot find any php.ini within my Nextcloud container. Sorry if this is a real noob question, but as I already mentioned, its all pretty new to me and hopefully someone can give me a hint where I can find the php.ini to configure opcache as well as php max file size.

As docker image, Im gonna use the official image here: https://hub.docker.com/_/nextcloud/

Thanks for any hint!

Hi, you can find the php.ini config in the repo file, also there are some *.ini files in /usr/local/etc/php/conf.d/ within the container, but i think you need to setup the opcache setting in your config.php file, kinda like this 'memcache.local' => '\\OC\\Memcache\\APCu'.

Here are the Docs about it.

Cheers!