Skip to content

Latest commit

 

History

History
82 lines (71 loc) · 3.07 KB

File metadata and controls

82 lines (71 loc) · 3.07 KB
title linkTitle weight description
storageprovider
storageprovider
10
Configuration for the Storage Provider service

struct: config

{{% dir name="mount_path" type="string" default="/" %}} The path where the file system would be mounted. [Ref] {{< highlight toml >}} [grpc.services.storageprovider] mount_path = "/" {{< /highlight >}} {{% /dir %}}

{{% dir name="mount_id" type="string" default="-" %}} The ID of the mounted file system. [Ref] {{< highlight toml >}} [grpc.services.storageprovider] mount_id = "-" {{< /highlight >}} {{% /dir %}}

{{% dir name="driver" type="string" default="localhome" %}} The storage driver to be used. [Ref] {{< highlight toml >}} [grpc.services.storageprovider] driver = "localhome" {{< /highlight >}} {{% /dir %}}

{{% dir name="drivers" type="map[string]map[string]interface{}" default="docs/config/packages/storage/fs" %}} [Ref] {{< highlight toml >}} [grpc.services.storageprovider.drivers] "[docs/config/packages/storage/fs]({{< ref "docs/config/packages/storage/fs" >}})" {{< /highlight >}} {{% /dir %}}

{{% dir name="tmp_folder" type="string" default="/var/tmp" %}} Path to temporary folder. [Ref] {{< highlight toml >}} [grpc.services.storageprovider] tmp_folder = "/var/tmp" {{< /highlight >}} {{% /dir %}}

{{% dir name="data_server_url" type="string" default="http://localhost/data" %}} The URL for the data server. [Ref] {{< highlight toml >}} [grpc.services.storageprovider] data_server_url = "http://localhost/data" {{< /highlight >}} {{% /dir %}}

{{% dir name="expose_data_server" type="bool" default=false %}} Whether to expose data server. [Ref] {{< highlight toml >}} [grpc.services.storageprovider] expose_data_server = false {{< /highlight >}} {{% /dir %}}

{{% dir name="disable_tus" type="bool" default=false %}} Whether to disable TUS uploads. [Ref] {{< highlight toml >}} [grpc.services.storageprovider] disable_tus = false {{< /highlight >}} {{% /dir %}}

{{% dir name="available_checksums" type="map[string]uint32" default=nil %}} List of available checksums. [Ref] {{< highlight toml >}} [grpc.services.storageprovider] available_checksums = nil {{< /highlight >}} {{% /dir %}}