tweak nextcloud config
This commit is contained in:
parent
95e29071a9
commit
f5871b8d0e
|
@ -0,0 +1,2 @@
|
|||
# Mitigate an issue with CPU starvation in photo app
|
||||
MaxRequestWorkers 50
|
|
@ -11,9 +11,10 @@ commonLabels:
|
|||
app.kubernetes.io/name: nextcloud
|
||||
|
||||
configMapGenerator:
|
||||
- name: php-ini
|
||||
- name: server-config
|
||||
files:
|
||||
- php-user.ini=configurations/php-user.ini
|
||||
- apache-user.cfg=configurations/apache-user.conf
|
||||
- name: kustomize-generated-config
|
||||
literals:
|
||||
- NEXTCLOUD_EXTERNAL_HOST=cloud.badjware.dev
|
||||
|
|
|
@ -90,17 +90,21 @@ spec:
|
|||
volumeMounts:
|
||||
- name: nextcloud-pv
|
||||
mountPath: /var/www/html
|
||||
- name: php-ini
|
||||
- name: server-config
|
||||
mountPath: /usr/local/etc/php/conf.d/php-user.ini
|
||||
subPath: php-user.ini
|
||||
readOnly: true
|
||||
- name: server-config
|
||||
mountPath: /etc/apache2/conf-enabled/apache-user.conf
|
||||
subPath: apache-user.conf
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: nextcloud-pv
|
||||
persistentVolumeClaim:
|
||||
claimName: server-pvc
|
||||
- name: php-ini
|
||||
- name: server-config
|
||||
configMap:
|
||||
name: php-ini
|
||||
name: server-config
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
|
@ -111,7 +115,7 @@ spec:
|
|||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 20Gi
|
||||
storage: 100Gi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
|
Loading…
Reference in New Issue