mirror of
https://github.com/Thumbscrew/nextcloud-docker-compose.git
synced 2025-01-18 09:35:46 +00:00
add memory settings to nextcloud container
This commit is contained in:
parent
b12f6d2261
commit
2248e904e3
@ -5,6 +5,8 @@ DOCKER_PROXY_NETWORK=proxy
|
||||
# nextcloud
|
||||
NEXTCLOUD_TAG=23-apache
|
||||
NEXTCLOUD_DOMAIN=nextcloud.example.com
|
||||
NEXTCLOUD_MEM_RES=512m # https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#memory
|
||||
NEXTCLOUD_MEM_LIMIT=4g
|
||||
|
||||
# postgres
|
||||
POSTGRES_TAG=14
|
||||
|
@ -45,6 +45,8 @@ services:
|
||||
args:
|
||||
NEXTCLOUD_TAG: ${NEXTCLOUD_TAG}
|
||||
restart: unless-stopped
|
||||
mem_reservation: ${NEXTCLOUD_MEM_RES:-512m}
|
||||
mem_limit: ${NEXTCLOUD_MEM_LIMIT:-4g}
|
||||
volumes:
|
||||
- ${VOLUME_PATH}/var/www/html:/var/www/html:rw
|
||||
secrets:
|
||||
|
Loading…
Reference in New Issue
Block a user