0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-05-03 15:30:55 +02:00

Implement essential php.ini configuration via ENV (#1379)

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Co-Authored-By: Alexander Sosna <alexander.sosna@credativ.de>
Co-Authored-By: =?UTF-8?q?Alexander=20Gr=C3=BC=C3=9Fung?= <alexander@gruessung-online.de>

Co-authored-by: Alexander Sosna <alexander.sosna@credativ.de>
Co-authored-by: =?UTF-8?q?Alexander=20Gr=C3=BC=C3=9Fung?= <alexander@gruessung-online.de>
This commit is contained in:
J0WI 2021-02-19 13:57:58 +00:00 committed by GitHub
parent b6925e9b45
commit 061d860c0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 4 deletions

View file

@ -182,6 +182,10 @@ To use an external OpenStack Swift object store as primary storage, set the foll
Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/primary_storage.html#openstack-swift) for more information.
To customize other PHP limits you can simply change the following variables:
- `PHP_INI_MEMORY_LIMIT` (default `512M`) This sets the maximum amount of memory in bytes that a script is allowed to allocate. This is meant to help prevent poorly written scripts from eating up all available memory but it can prevent normal operation if set too tight.
- `PHP_UPLOAD_LIMIT` (default `512M`) This sets the upload limit (`post_max_size` and `upload_max_filesize`) for big files. Note that you may have to change other limits depending on your client, webserver or operating system. Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html) for more information.
## Using the apache image behind a reverse proxy and auto configure server host and protocol