Add CPU limit parameter to docker-compose.yml
This commit is contained in:
parent
15f88de2d0
commit
245c91a22f
@ -12,6 +12,7 @@ services:
|
||||
image: "${IMAGE:-nextcloud}:${VERSION:-latest}"
|
||||
container_name: "${NAME:-nextcloud}"
|
||||
mem_limit: ${MEM_LIMIT:-2g}
|
||||
cpus: ${CPUS:-1}
|
||||
environment:
|
||||
PHP_MEMORY_LIMIT: "${PHP_MEMORY_LIMIT:-1024M}"
|
||||
labels:
|
||||
|
Loading…
x
Reference in New Issue
Block a user