mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Naive support for Digital Ocean spaces
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
5730518fc6
commit
1e150e2683
11
.env.example
11
.env.example
|
@ -127,6 +127,17 @@ PUBLIC_AWS_BUCKET=null
|
|||
PUBLIC_AWS_URL=null
|
||||
PUBLIC_AWS_BUCKET_ROOT=null
|
||||
|
||||
|
||||
# --------------------------------------------
|
||||
# OPTIONAL: Digital Ocean Spaces File Settings
|
||||
# --------------------------------------------
|
||||
DIGITALOCEAN_SPACES_KEY=null
|
||||
DIGITALOCEAN_SPACES_SECRET=null
|
||||
DIGITALOCEAN_SPACES_ENDPOINT=https://region.digitaloceanspaces.com
|
||||
DIGITALOCEAN_SPACES_REGION=null
|
||||
DIGITALOCEAN_SPACES_BUCKET=null
|
||||
|
||||
|
||||
# --------------------------------------------
|
||||
# OPTIONAL: PRIVATE S3 Settings
|
||||
# --------------------------------------------
|
||||
|
|
|
@ -82,6 +82,15 @@ $config = [
|
|||
'visibility' => 'private'
|
||||
],
|
||||
|
||||
'digitalocean' => [
|
||||
'driver' => 's3', 'key' => env('DIGITALOCEAN_SPACES_KEY'),
|
||||
'secret' => env('DIGITALOCEAN_SPACES_SECRET'),
|
||||
'endpoint' => env('DIGITALOCEAN_SPACES_ENDPOINT'),
|
||||
'region' => env('DIGITALOCEAN_SPACES_REGION'),
|
||||
'bucket' => env('DIGITALOCEAN_SPACES_BUCKET'),
|
||||
],
|
||||
|
||||
|
||||
'rackspace' => [
|
||||
'driver' => 'rackspace',
|
||||
'username' => env('RACKSPACE_USERNAME'),
|
||||
|
|
Loading…
Reference in a new issue