I can't find which file I edited for envvars

hello,

i’m using latest nextcloud-aio-docker. a very long time ago i configured upload size and timeout values.

but now, i can’t find which file i edited that time. i’m going to be insane since every google search and topic says assign env variable in docker compose. but i don’t want to edit my compose, i just need to increase php memory limit. i need to find that file but no chance. here’s my compose if you are interested:

services:
nextcloud-aio-mastercontainer:
image: nextcloud/all-in-one:latest
container_name: nextcloud-aio-mastercontainer
restart: always
init: true
ports:
- “8080:8080”
- “8443:8443”
environment:
APACHE_PORT: “777”
SKIP_DOMAIN_VALIDATION: “true”
NEXTCLOUD_DATADIR: “/mnt/redacted/nextcloud”
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro

volumes:
nextcloud_aio_mastercontainer:
external: true

Why?

That’s the officially supported method, and in my opinion, it’s also the easiest way:

https://github.com/nextcloud/all-in-one#how-to-adjust-the-php-memory-limit-for-nextcloud

https://github.com/nextcloud/all-in-one/blob/main/compose.yaml

See here: all-in-one/Containers/nextcloud/Dockerfile at bf4c721fe0bf45243b6784479b51392793e6d9e6 · nextcloud/all-in-one · GitHub

However, while I’m not 100% sure, it’s likely that the changes would be overwritten during container updates, so it’s probably not a good idea to edit the file directly inside the container.