Skip to content

Commit

Permalink
nextcloud: updates3.config.php
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L. <[email protected]>
  • Loading branch information
szaimen committed Jan 28, 2025
1 parent 63aee30 commit 0a1fba8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Containers/nextcloud/config/s3.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
'bucket' => getenv('OBJECTSTORE_S3_BUCKET'),
'key' => getenv('OBJECTSTORE_S3_KEY') ?: '',
'secret' => getenv('OBJECTSTORE_S3_SECRET') ?: '',
'sse_c_key' => getenv('OBJECTSTORE_S3_SSE_C_KEY') ?: '',
'region' => getenv('OBJECTSTORE_S3_REGION') ?: '',
'hostname' => getenv('OBJECTSTORE_S3_HOST') ?: '',
'port' => getenv('OBJECTSTORE_S3_PORT') ?: '',
Expand All @@ -26,4 +25,9 @@
)
)
);

$sse_c_key = getenv('OBJECTSTORE_S3_SSE_C_KEY');
if ($sse_c_key) {
$CONFIG['objectstore']['arguments']['sse_c_key'] = $sse_c_key;
}
}

0 comments on commit 0a1fba8

Please sign in to comment.