New nextcloud version and post init command

This commit is contained in:
Micke Nordin 2023-03-31 15:56:49 +02:00
parent 3e3203a389
commit 3fe3331add
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -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