From db8f32cdbb918dd6f3f9a74767b00fa7ff6c8f69 Mon Sep 17 00:00:00 2001 From: Varac <varac@varac.net> Date: Thu, 15 Sep 2022 13:28:21 +0200 Subject: [PATCH] Disable OnlyOffice CPU-heavy tasks on startup Closes #1069 --- CHANGELOG.md | 4 ++++ Chart.yaml | 2 +- templates/onlyoffice-deployment.yaml | 4 ++-- values.yaml | 9 +++++---- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6572dc6f..36ee804b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [0.10.35] - 2022-09-15 + +* Disable OnlyOffice CPU-heavy tasks on startup (#1069) + ## [0.10.28] - 2022-09-06 * Quote other COMMIT_INFO values to not screw up yaml diff --git a/Chart.yaml b/Chart.yaml index a7d3d32f..70f4d53c 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -3,7 +3,7 @@ apiVersion: v2 description: | A helm chart for installing NextCloud and setting up ONLYOFFICE integration name: nextcloud-onlyoffice -version: 0.10.34 +version: 0.10.35 appVersion: NC-24.0.2-OO-7.1.1.23 icon: https://cdn.rawgit.com/docker-library/docs/defa5ffc7123177acd60ddef6e16bddf694cc35f/nextcloud/logo.svg dependencies: diff --git a/templates/onlyoffice-deployment.yaml b/templates/onlyoffice-deployment.yaml index 25a7e71e..2937a602 100644 --- a/templates/onlyoffice-deployment.yaml +++ b/templates/onlyoffice-deployment.yaml @@ -101,8 +101,8 @@ spec: value: "{{ .Release.Name }}-redis-master" - name: REDIS_SERVER_PORT value: "{{ .Values.redis.master.service.ports.redis }}" - - name: SKIP_FONTS_GENERATION - value: "{{ .Values.onlyoffice.skipFontsGeneration }}" + - name: GENERATE_FONTS + value: "{{ .Values.onlyoffice.generateFonts }}" - name: USE_UNAUTHORIZED_STORAGE value: "{{ .Values.onlyoffice.unauthorizedStorage }}" - name: ONLYOFFICE_HTTPS_HSTS_ENABLED diff --git a/values.yaml b/values.yaml index a9e6b38d..6a0dc0b2 100644 --- a/values.yaml +++ b/values.yaml @@ -64,12 +64,12 @@ onlyoffice: jwtSecret: secret - # Disable font generation during startup. + # Enable font generation during startup. # This takes a long time and is not needed if you don't provide custom # fonts. - # See https://0xacab.org/infrared/platform_wg/docker-onlyoffice-documentserver/issues/10 - # for context. - skipFontsGeneration: true + # Sets the `GENERATE_FONTS` env var, see + # https://github.com/ONLYOFFICE/Docker-DocumentServer#available-configuration-parameters + generateFonts: false # Allow chainging unauthorizedStorage and httpsHstsEnabled # Useful if you want to make Nextcloud and Onlyoffice work without proper @@ -86,6 +86,7 @@ onlyoffice: server_name: onlyoffice.domain image: + # https://hub.docker.com/r/onlyoffice/documentserver/tags repository: onlyoffice/documentserver tag: 7.1.1.23 pullPolicy: Always -- GitLab