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

[/details]
Nextcloud version 25.0.3.2
|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 25.0.3.2
HTTPD service up
PHP service up
MariaDB service up
Redis service up
HPB service up
Postfix service up
Internet check ok
Public IPv4 123.126.82.8
Public IPv6 not found
Port 80 closed
Port 443 closed
IP 172.17.0.7
Gateway 172.17.0.1
Interface eth0
Certificates none
NAT loopback no
Uptime 2days