test object storage

This commit is contained in:
2022-10-10 18:33:42 -05:00
parent d0390bbda1
commit 9cf753f8aa

View File

@@ -57,61 +57,31 @@ nextcloud:
# 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:
# s3.config.php: |-
# <?php
# $CONFIG = array (
# 'objectstore' => array(
# 'class' => '\\OC\\Files\\ObjectStore\\S3',
# 'arguments' => array(
# 'bucket' => 'my-bucket',
# 'autocreate' => true,
# 'key' => 'xxx',
# 'secret' => 'xxx',
# 'region' => 'us-east-1',
# 'use_ssl' => true
# )
# )
# );
defaultConfigs:
.htaccess: true
redis.config.php: true
apache-pretty-urls.config.php: true
apcu.config.php: true
apps.config.php: true
autoconfig.php: true
smtp.config.php: false
configs:
s3.config.php: |-
<?php
$CONFIG = array (
'objectstore' => array(
'class' => '\\OC\\Files\\ObjectStore\\S3',
'arguments' => array(
'bucket' => 'nextcloud',
'autocreate' => false,
'key' => '9qTcNX9Q6nw1teIM',
'secret' => 'THbopkCtESSWui6A1Z0DDDLG5WZo4Eon',
'region' => 'us-east-1',
'hostname' => '192.168.20.253',
'port' => 9768,
'use_ssl' => false
)
)
);
internalDatabase:
enabled: false
enabled: true
externalDatabase:
enabled: false
mariadb:
enabled: true
auth:
database: nextcloud
username: nextcloud
password: changeme
architecture: standalone
primary:
persistence:
enabled: true
storageClass: "longhorn"
accessMode: ReadWriteMany
size: 8Gi
redis:
enabled: true
auth:
enabled: true
password: 'changeme'
service:
type: ClusterIP
port: 8080
@@ -119,7 +89,7 @@ nextcloud:
nodePort: nil
persistence:
enabled: true
enabled: false
annotations: {}
storageClass: "longhorn"
accessMode: ReadWriteMany