Closed nenatap closed 3 months ago
docker compose restart
is not sufficient for environment variable changes:
https://docs.docker.com/reference/cli/docker/compose/restart/
Checked my ./app/config/config.php, there was nothing set which would indicate a memory limit.
It won't show up there. It's a PHP parameter. It gets picked up directly by PHP from the environment via /usr/local/etc/php/conf.d/nextcloud.ini
As stated on https://hub.docker.com/_/nextcloud , one should be able to modify the php memory limit by setting environment variable PHP_MEMORY_LIMIT.
It looks like the value is ignored, or overwritten somewhere. Here is my docker compose file for the nextcloud:
And when testing, here are the results:
So the variables appear to be picked up, except for the PHP_MEMORY_LIMIT.
Checked my ./app/config/config.php, there was nothing set which would indicate a memory limit.
ps. special thanks for github for labeling my main account as spam just because I wanted to grip on my privacy by using unique email address via simplelogin...