mirror of
https://github.com/nextcloud/docker.git
synced 2025-07-22 23:28:05 +02:00
Merge branch 'nextcloud:master' into master
This commit is contained in:
commit
636325dd28
68 changed files with 206 additions and 2158 deletions
|
@ -236,6 +236,7 @@ To use Redis for memory caching as well as PHP session storage, specify the foll
|
|||
|
||||
- `REDIS_HOST` (not set by default) Name of Redis container
|
||||
- `REDIS_HOST_PORT` (default: `6379`) Optional port for Redis, only use for external Redis servers that run on non-standard ports.
|
||||
- `REDIS_HOST_USER` (not set by default) Optional username for Redis, only use for external Redis servers that require a user.
|
||||
- `REDIS_HOST_PASSWORD` (not set by default) Redis password
|
||||
|
||||
To use Redis in cluster mode, you can use
|
||||
|
@ -303,6 +304,7 @@ Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/adm
|
|||
To customize PHP limits you can change the following variables:
|
||||
- `PHP_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.
|
||||
- `PHP_OPCACHE_MEMORY_CONSUMPTION` (default `128`) This sets the `opcache.memory_consumption` value. It's the size of the shared memory storage used by OPcache, in megabytes.
|
||||
|
||||
### Apache Configuration
|
||||
|
||||
|
@ -397,7 +399,7 @@ services:
|
|||
db:
|
||||
image: mariadb:10.11
|
||||
restart: always
|
||||
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
|
||||
command: --transaction-isolation=READ-COMMITTED
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
environment:
|
||||
|
@ -445,7 +447,7 @@ services:
|
|||
db:
|
||||
image: mariadb:10.11
|
||||
restart: always
|
||||
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
|
||||
command: --transaction-isolation=READ-COMMITTED
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
environment:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue