add php ini tweaks to nextcloud
This commit is contained in:
parent
5599645d0e
commit
447999c799
|
@ -0,0 +1,3 @@
|
|||
upload_max_filesize=2G
|
||||
post_max_size=2G
|
||||
memory_limit=2G
|
|
@ -10,6 +10,9 @@ commonLabels:
|
|||
app.kubernetes.io/name: nextcloud
|
||||
|
||||
configMapGenerator:
|
||||
- name: php-ini
|
||||
files:
|
||||
- php-user.ini=configurations/php-user.ini
|
||||
- name: kustomize-generated-config
|
||||
literals:
|
||||
- NEXTCLOUD_EXTERNAL_HOST=cloud.badjware.dev
|
||||
|
|
|
@ -90,10 +90,17 @@ spec:
|
|||
volumeMounts:
|
||||
- name: nextcloud-pv
|
||||
mountPath: /var/www/html
|
||||
- name: php-ini
|
||||
mountPath: /usr/local/etc/php/conf.d/php-user.ini
|
||||
subPath: php-user.ini
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: nextcloud-pv
|
||||
persistentVolumeClaim:
|
||||
claimName: server-pvc
|
||||
- name: php-ini
|
||||
configMap:
|
||||
name: php-ini
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
|
|
Loading…
Reference in New Issue