How to Configure system limits for NextCloudPi

how to Configure system limits for NextCloudPi

Maximum file size
Memory limit
PHP threads
Redis memory

What meaning do these parameters represent, what impact will be caused after the modification, what is the value range, is it effective immediately after the modification? Still need to restart the container.

Which configuration file are these parameters in

Nextcloud version
|NextcloudPi version|v1.51.0|
|NextcloudPi image|NextcloudPi_docker_01-22-23|
|OS|Debian GNU/Linux 11. 5.10.92-v8 (aarch64)|
Apache/2.4.56 (Debian)
PHP 8.1.14 (cli) (built: Jan 13 2023 10:38:02) (NTS)

System Info

‣ You should run Lets Encrypt for trusted encrypted access

‣ You should open your ports for Lets Encrypt and external access

NextcloudPi version v1.51.0
NextcloudPi image NextcloudPi_docker_01-22-23
OS Debian GNU/Linux 11. 5.10.92-v8 (aarch64)
automount no
USB devices none
datadir /data/ncdata/data
data in SD yes
data filesystem ext2/ext3
data disk usage 18G/27G
rootfs usage 18G/27G
swapfile none
dbdir /data/database
Nextcloud check ok
Nextcloud version
HTTPD service up
PHP service up
MariaDB service up
Redis service up
HPB service up
Postfix service up
Internet check ok
Public IPv4
Public IPv6 not found
Port 80 closed
Port 443 closed
Interface eth0
Certificates none
NAT loopback no
Uptime 2days