Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any documentation related how to configure tusd server with azure blob storage? #897

Closed
Nippucsharptek opened this issue Feb 6, 2023 · 3 comments
Labels

Comments

@Nippucsharptek
Copy link

Nippucsharptek commented Feb 6, 2023

What is the process of configuring Tusd server with azure blob storage, i have created a storage account and a container inside it what else do i need to do to configure tusd server with the container.

Setup details
Please provide following details, if applicable to your situation:

  • Operating System: [e.g. Linux, Windows, macOS]
  • Used tusd version: [can be obtained by running tusd -version]
  • Used tusd data storage: Azure]
  • Used tusd configuration: [what arguments are you using to invoke tusd?]
  • Used tus client library: [e.g. tus-js-client]
@Acconut
Copy link
Member

Acconut commented Feb 6, 2023

You are correct, the docs at https://github.com/tus/tusd/blob/main/docs/usage-binary.md do not yet mention Azure. The information is however available thorugh tusd -help or in the source code for the flags:

flag.StringVar(&Flags.AzStorage, "azure-storage", "", "Use Azure BlockBlob Storage with this container name as a storage backend (requires the AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_KEY environment variable to be set)")
flag.StringVar(&Flags.AzContainerAccessType, "azure-container-access-type", "", "Access type when creating a new container if it does not exist (possible values: blob, container, '')")
flag.StringVar(&Flags.AzBlobAccessTier, "azure-blob-access-tier", "", "Blob access tier when uploading new files (possible values: archive, cool, hot, '')")
flag.StringVar(&Flags.AzObjectPrefix, "azure-object-prefix", "", "Prefix for Azure object names")
flag.StringVar(&Flags.AzEndpoint, "azure-endpoint", "", "Custom Endpoint to use for Azure BlockBlob Storage (requires azure-storage to be pass)")

@omBratteng Would you have time to add a brief section about using tusd with Azure to the above-mentioned docs?

@omBratteng
Copy link
Contributor

See #906

@Acconut
Copy link
Member

Acconut commented Feb 14, 2023

Closed in #906, thanks to @omBratteng 🎉

@Acconut Acconut closed this as completed Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants