References: #472 (fix: add memory_limit and LimitRequestBody for big file upload support)
When reading the change of the referenced PR (much appreciated), I saw that there is a file named ENVIRONMENT.md where (hopefully) all envvars for a Dockerised ownCloud installation are present. Because I do not want to reinvent the wheel creating such a list in the docs, I propose the following change:
-
Copy the ENVIRONMENT.md file into the config folder of ownCloud, there where config.php / overwrite.config.php is located.
Because this folder is part of the Docker mounted volume, one can easily access and read it. Note that ownCloud only reads .php files in this folder which means adding an .md file does no harm.
-
As a second task, we need to check if there are envvars missing and add them if so.
-
Finally, we should check the sorting of keys. This is because I have found at least one out of order.
OWNCLOUD_IOC_SCANNER_CONFIRMATION is in last position and not where it is expected.
Benefit
One place to maintain available envvars which is a huge impact for docs
@DeepDiver1975
References: #472 (fix: add memory_limit and LimitRequestBody for big file upload support)
When reading the change of the referenced PR (much appreciated), I saw that there is a file named ENVIRONMENT.md where (hopefully) all envvars for a Dockerised ownCloud installation are present. Because I do not want to reinvent the wheel creating such a list in the docs, I propose the following change:
Copy the
ENVIRONMENT.mdfile into the config folder of ownCloud, there whereconfig.php/overwrite.config.phpis located.Because this folder is part of the Docker mounted volume, one can easily access and read it. Note that ownCloud only reads
.phpfiles in this folder which means adding an.mdfile does no harm.As a second task, we need to check if there are envvars missing and add them if so.
Finally, we should check the sorting of keys. This is because I have found at least one out of order.
OWNCLOUD_IOC_SCANNER_CONFIRMATIONis in last position and not where it is expected.Benefit
One place to maintain available envvars which is a huge impact for docs
@DeepDiver1975