From 3fe3331add419e2717f6543276e6a7e18bce0b02 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Fri, 31 Mar 2023 15:56:49 +0200 Subject: [PATCH] New nextcloud version and post init command --- customers/base/nextcloud-deployment.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/customers/base/nextcloud-deployment.yml b/customers/base/nextcloud-deployment.yml index 35cf8b3..529bc3c 100644 --- a/customers/base/nextcloud-deployment.yml +++ b/customers/base/nextcloud-deployment.yml @@ -29,7 +29,7 @@ spec: restartPolicy: Always containers: - name: customer - image: docker.sunet.se/drive/nextcloud-custom:25.0.3.3-4 + image: docker.sunet.se/drive/nextcloud-custom:25.0.5.2-1 volumeMounts: - name: nextcloud-data mountPath: /var/www/html/config @@ -63,6 +63,10 @@ spec: name: nextcloud-http command: ["/bin/bash"] args: ["-c", "apachectl -D FOREGROUND"] + lifecycle: + postStart: + exec: + command: ["/bin/sh", "-c", "php -d apc.enable_cli=1 -d memory_limit=-1 /var/www/html/occ upgrade"] initContainers: - image: docker.sunet.se/sunet/docker-jinja:latest name: init-config