diff --git a/apps/web/nextcloud/config.php b/apps/web/nextcloud/config.php index 8f6f372..2cc9f11 100644 --- a/apps/web/nextcloud/config.php +++ b/apps/web/nextcloud/config.php @@ -25,7 +25,7 @@ $CONFIG = array ( 'class' => '\\OC\\Files\\ObjectStore\\S3', 'arguments' => array ( - 'bucket' => 'buckets/nextcloud', + 'bucket' => 'nextcloud', 'key' => 'nextcloud', 'secret' => 'tWnc3zdxcDUvcX5f9uY7RRYvKLcWI1KY', 'region' => '', diff --git a/apps/web/nextcloud/deployment.yaml b/apps/web/nextcloud/deployment.yaml index 4ab3fe1..94bfa48 100644 --- a/apps/web/nextcloud/deployment.yaml +++ b/apps/web/nextcloud/deployment.yaml @@ -78,8 +78,8 @@ spec: memory: "512Mi" cpu: "250m" limits: - memory: "1000Mi" - cpu: "1500m" + memory: "768Mi" + cpu: "3000m" --- apiVersion: v1 kind: Service diff --git a/apps/web/nextcloud/post-start.sh b/apps/web/nextcloud/post-start.sh old mode 100644 new mode 100755 index 17b7943..d501ca4 --- a/apps/web/nextcloud/post-start.sh +++ b/apps/web/nextcloud/post-start.sh @@ -1,3 +1,20 @@ -#!/bin/sh +#!/bin/bash ln -s /var/run/secrets/kubernetes.io/serviceaccount/ca.crt /usr/local/share/ca-certificates/ -/usr/sbin/update-ca-certificates \ No newline at end of file +/usr/sbin/update-ca-certificates + +# reinstall/activate apps +#DIS_APP=( accessibility admin_audit contactsinteraction dashboard files_external +# files_rightclick firstrunwizard logreader nextcloud_announcements +# serverinfo sharebymail survey_client systemtags ser_ldap weather_status ) +# +#EN_APP=( activity cloud_federation_api comments dav encryption federatedfilesharing +# federation files files_pdfviewer files_sharing files_trashbin files_videoplayer +# lookup_server_connector notes notifications oauth2 password_policy photos +# privacy provisioning_api recommendations settings support text theming +# twofactor_backupcodes updatenotification user_status viewer workflowengine +# files_versions timetracker tasks deck files_3d ) +# +#for APP in ${DIS_APP[@]}; do echo "+${APP}+"; done +#echo "ENABLED" +# +#for APP in ${EN_APP[@]}; do echo "+${APP}+"; done \ No newline at end of file