How to enable Opcache in Docker setup?

Hi,

I am now using 30.0.5 Apache Docker Compose

https://hub.docker.com/_/nextcloud/#running-this-image-with-docker-compose

It is recommended to make these changes to speed things up as my desktop sync is very slow (averaging a 1-100kb/s on local network)

It would be nice if I am only relying on these official Docker images as maintaining custom stuff becomes tedious.

Is there a way to make those Php related changes with the Docker compose way? I don’t know much about Php etc so it is beyond my abilities.

(Server tuning — Nextcloud latest Administration Manual latest documentation)

Hi @ucarkamon, unfortunately a lot of information to help you is missing as you ignored the required support template. Please edit into your post and add as many information as possible. This will give us the technical info and logs needed to help you!

AFAIK required settings are included in the Docker community image and your issues must be related to other limitations. Please give a try to

which should be running smooth from start.

1 Like

That is a very general question. In principle, it is also possible to implement the customizations from the documentation in a Docker environment. As a rule, it is done with a bind-mount of a new or an existing file.

Proceed in such a way that you first familiarize yourself with how the customization would be implemented outside a Docker environment and then look for whether and how this procedure would have to be implemented in a Docker environment.

At least no one here will take you by the hand, but maybe there are already tutorials or gist’s out there.

However, I do not see from your problems that the sole reason is that the server optimization has not been carried out. In my opinion, the optimization only determines the last 10 % to 100 %.

2 Likes