New nextcloud version and post init command
This commit is contained in:
parent
3e3203a389
commit
3fe3331add
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue