1
0
Fork 0

add php ini tweaks to nextcloud

This commit is contained in:
Massaki Archambault 2023-06-10 02:48:24 -04:00
parent 5599645d0e
commit 447999c799
3 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,3 @@
upload_max_filesize=2G
post_max_size=2G
memory_limit=2G

View File

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

View File

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