Skip to content

Instantly share code, notes, and snippets.

@cjlano
Last active June 7, 2021 23:38
Show Gist options
  • Save cjlano/eae80a4b351590a820165e337d63f00c to your computer and use it in GitHub Desktop.
Save cjlano/eae80a4b351590a820165e337d63f00c to your computer and use it in GitHub Desktop.
Nextcloud OVH object storage as primary storage

Use OVH Public Cloud Object Storage as "Primary Storage" in Nextcloud configuration

Pointers:

Instructions

Download the "openRC.sh": https://www.ovh.com > My Account > Public Cloud > Project Management / Users & roles > Your user > (...) > Download openStack RC file

All OS_ variable should be replaced by their value in config.php

# ...
'objectstore' => array(
'class' => 'OC\\Files\\ObjectStore\\Swift',
'arguments' => array(
'user' => array(
'name' => 'OS_USERNAME',
'password' => 'OS_PASSWORD',
'domain' => [
'name' => 'Default'
],
),
'scope' => [
'project' => [
'name' => 'OS_TENANT_NAME',
'domain' => [
'name' => 'Default',
],
],
],
'bucket' => 'OVH_CONTAINER_NAME',
'region' => 'OS_REGION_NAME',
'url' => 'OS_AUTH_URL',
),
),
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment