composer require engineor/bsb-flysystem-runabove
Add the module to your application.config.php
:
return [
'modules' => [
...
'BsbFlysystem',
'Engineor\\Flysystem', // ADD THIS LINE
'Application',
...
],
'module_listener_options' => [
'module_paths' => [
'./module',
'./vendor',
],
'config_glob_paths' => [
'config/autoload/{,*.}{global,local}.php',
],
],
];
See configuration section on flysystem-runabove for credential details.
<?php
use Engineor\Flysystem\Runabove;
return [
'bsb_flysystem' => [
'adapters' => [
'runabove' => [
'type' => 'runabove',
'options' => [
'username' => ':username',
'password' => ':password',
'tenantId' => ':tenantId',
'container' => 'flysystem',
'region' => Runabove::REGION_EUROPE, // optional
'identity_endpoint' => Runabove::IDENTITY_ENDPOINT, // optional
],
],
],
'filesystems' => [
'default' => [
'adapter' => 'runabove',
'plugins' => [
'League\Flysystem\Plugin\ListFiles',
],
],
],
];
Because of a service migration, the Object Storage should now be used on OVH public cloud.
Please use https://auth.cloud.ovh.net/v2.0
as identity_endpoint
values. Your region
should be either SBG1
, GRA1
or BHS1
.