mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-01 23:58:58 -04:00
Docs: Add Azure, Filesystem, Imgur and S3
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
cfa43412d8
commit
48052c609f
4 changed files with 71 additions and 0 deletions
21
docs/content/media/azure.md
Normal file
21
docs/content/media/azure.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Azure Blob Storage
|
||||
|
||||
You can use [Microsoft Azure Blob Storage](https://azure.microsoft.com/services/storage/blobs/) to handle your image uploads in HedgeDoc.
|
||||
|
||||
All you need to do is to get the [connection string](https://docs.microsoft.com/azure/storage/common/storage-account-keys-manage) for your storage account and create a storage container with public access set to 'blob'.
|
||||
|
||||
It's possible to create the container with the [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli), using your connection string, with the following command:
|
||||
|
||||
```
|
||||
az storage container create --name <NAME> --public-access blob --connection-string "<CONNECTION_STRING>"
|
||||
```
|
||||
|
||||
You can of course also create the container in the Azure portal if you prefer.
|
||||
|
||||
Then you just add the following lines to your configuration:
|
||||
<small>(with the appropriate substitution for `<CONNECTION_STRING>` and `<NAME>` of course)</small>
|
||||
```
|
||||
HD_MEDIA_BACKEND="azure"
|
||||
HD_MEDIA_BACKEND_AZURE_CONNECTION_STRING="<CONNECTION_STRING>"
|
||||
HD_MEDIA_BACKEND_AZURE_CONTAINER="<NAME>"
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue