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