sliproad/assets/config_examples/providers.yml
Gabriel Simmer a765d52e4b
Update README, add configuration examples.
Expanded the README with more up-to-date data and elaboration on
providers, which may have been a bit unclear before. Also added a few
configuration examples for each provider, with comments.
2020-03-31 00:03:50 +01:00

21 lines
759 B
YAML

# 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