Add memory limit

This commit is contained in:
Kris Lamoureux 2025-03-02 15:08:56 -05:00
parent 3337cbb530
commit bfd8108568
Signed by: kris
GPG Key ID: 105B748C1362EB96

View File

@ -9,6 +9,7 @@ services:
nextcloud:
image: "${IMAGE:-nextcloud}:${VERSION:-latest}"
container_name: "${NAME:-nextcloud}"
mem_limit: ${MEM_LIMIT:-2g}
environment:
PHP_MEMORY_LIMIT: "${PHP_MEMORY_LIMIT:-1024M}"
labels: