2020-03-31 00:01:03 +01:00
|
|
|
# A "provider" is a service that provides access to a filesystem.
|
|
|
|
#
|
|
|
|
# A full configuration for every provider implemented in the application.
|
|
|
|
# You can find full breakdowns for each provider's configuration in it's respective file under
|
|
|
|
# `assets/config_examples/`.
|
|
|
|
#
|
|
|
|
# Schema is as follows:
|
|
|
|
# Provider Name: string - used to identify which filesystem to access.
|
|
|
|
# provider: string - should be one of the built-in providers.
|
|
|
|
# path: string - optional, just used for `disk` right now.
|
|
|
|
# config: mapping - used for provider-specific configuration values, such as authentication.
|
|
|
|
disk:
|
|
|
|
provider: disk
|
|
|
|
path: /tmp/nas
|
|
|
|
backblaze:
|
|
|
|
provider: backblaze
|
|
|
|
config:
|
|
|
|
applicationKeyId: aaaaaaaaaaaa
|
|
|
|
applicationKey: aaaaaaaaaaaa
|
|
|
|
bucket: aaaaaaaaaaaa
|
2021-05-29 22:32:38 +01:00
|
|
|
s3:
|
|
|
|
provider: s3
|
|
|
|
config:
|
|
|
|
region: eu-west-2
|
|
|
|
bucket: some-bucket
|
|
|
|
backblazes3:
|
|
|
|
provider: s3
|
|
|
|
config:
|
|
|
|
bucket: sliproad-testing
|
|
|
|
region: us-west-000
|
|
|
|
endpoint: s3.us-west-000.backblazeb2.com
|
|
|
|
keyid: key-id
|
|
|
|
keysecret: key-secret
|