From 5a7d454f7c419ddc78f156126fff85f198db984c Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Sat, 9 Jul 2022 15:54:14 +0200 Subject: [PATCH] fix(nextcloud): improve upload performance and predictability (#3109) --- charts/stable/nextcloud/Chart.yaml | 2 +- charts/stable/nextcloud/questions.yaml | 12 ++++++++++++ charts/stable/nextcloud/values.yaml | 6 +++++- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/charts/stable/nextcloud/Chart.yaml b/charts/stable/nextcloud/Chart.yaml index a7388d07454..4c80af5391f 100644 --- a/charts/stable/nextcloud/Chart.yaml +++ b/charts/stable/nextcloud/Chart.yaml @@ -37,7 +37,7 @@ sources: - https://github.com/nextcloud/docker - https://github.com/nextcloud/helm type: application -version: 15.2.2 +version: 15.2.3 annotations: truecharts.org/catagories: | - cloud diff --git a/charts/stable/nextcloud/questions.yaml b/charts/stable/nextcloud/questions.yaml index 09c554fcc44..ccc02b463da 100644 --- a/charts/stable/nextcloud/questions.yaml +++ b/charts/stable/nextcloud/questions.yaml @@ -109,6 +109,18 @@ questions: schema: type: string default: "172.16.0.0/16 127.0.0.1" + - variable: PHP_INI_MEMORY_LIMIT + label: "PHP_INI_MEMORY_LIMIT" + description: "Sets php memory_limit setting" + schema: + type: string + default: "1G" + - variable: PHP_UPLOAD_LIMIT + label: "PHP_UPLOAD_LIMIT" + description: "Sets php upload_max_filesize and post_max_size settings" + schema: + type: string + default: "10G" - variable: AccessIP label: "Access IP" description: "Set to the IP-Address used to reach Nextcloud. Most often the Service or NodePort IP (Ensure this is correct!)" diff --git a/charts/stable/nextcloud/values.yaml b/charts/stable/nextcloud/values.yaml index 9565445e782..02f762e5ba3 100644 --- a/charts/stable/nextcloud/values.yaml +++ b/charts/stable/nextcloud/values.yaml @@ -1,7 +1,7 @@ image: repository: tccr.io/truecharts/nextcloud-fpm pullPolicy: IfNotPresent - tag: v24.0.2@sha256:9cd0fb3875d673932d50fa677326b42955a3e8637dc2602b7a827f2afb42eee9 + tag: v24.0.2@sha256:402be26ad63d87469fd31bed1056a0e51a7a8a6122a15d7804abc592711cbf3a nginxImage: repository: tccr.io/truecharts/nginx-unprivileged @@ -132,6 +132,10 @@ env: # Often the service or nodePort IP # Defaults to the main serviceName for CI purposes. AccessIP: + NEXTCLOUD_INIT_HTACCESS: true + PHP_INI_MEMORY_LIMIT: 1G + PHP_UPLOAD_LIMIT: 10G + NEXTCLOUD_CHUNKSIZE: "31457280" TRUSTED_PROXIES: "172.16.0.0/16 127.0.0.1" POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}" POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"