diff --git a/nextcloud/values.yaml b/nextcloud/values.yaml index 0496fea..bbc29cf 100644 --- a/nextcloud/values.yaml +++ b/nextcloud/values.yaml @@ -54,6 +54,28 @@ nextcloud: phpConfigs: {} + # For example, to use S3 as primary storage + # ref: https://docs.nextcloud.com/server/13/admin_manual/configuration_files/primary_storage.html#simple-storage-service-s3 + # + configs: + storage.config.php: |- + array( + 'class' => '\\OC\\Files\\ObjectStore\\S3', + 'arguments' => array( + 'bucket' => 'nextcloud', + 'autocreate' => true, + 'key' => 'DeTWD5Dc2hNwCYft', + 'secret' => 'tHfIcq4tmCrNNlL679YcjAe6pscs9PJd', + 'hostname' => 'http://192.168.20.253', + 'port' => 9768, + 'use_ssl' => false, + 'use_path_style' => true + ) + ) + ); + internalDatabase: enabled: true @@ -70,7 +92,7 @@ nextcloud: nodePort: nil persistence: - enabled: true + enabled: false annotations: {} storageClass: "longhorn" accessMode: ReadWriteMany