oc-azure-storage-adapter
TypeScript icon, indicating that this package has built-in type declarations

1.3.1 • Public • Published

Description

⚠️ THIS ADAPTER IS EXPERIMENTAL, USE CAREFULLY

Allows oc registry to store its components within Azure Blob Storage.

Configuration

var azureStorageAdapter = require('oc-azure-storage-adapter');
...
storage: {
  adapter: azureStorageAdapter,
  options: {
    // Container that will store publicly available files.
    // It's ACL should be set to 'blob' ({ "publicAccess": "blob" })
    publicContainerName: 'oc-public',
    // Container that will store private files.
    // It's ACL should be set to 'Private' ({ "publicAccess": "off" })
    privateContainerName: 'oc-private',
    accountName: '<your_azure_account_name>',
    accountKey: '<your_very_secret_azure_account_key>',
    path: '//<your_azure_account_name>.blob.core.windows.net/<publicContainerName>/',
    componentsDir: 'components',
  }
}
...

/oc-azure-storage-adapter/

    Package Sidebar

    Install

    npm i oc-azure-storage-adapter

    Weekly Downloads

    13

    Version

    1.3.1

    License

    MIT

    Unpacked Size

    12.3 kB

    Total Files

    5

    Last publish

    Collaborators

    • matteofigus
    • nickbalestra
    • pbazydlo
    • mkredz