ghostblobstorage
v1.0.0
Published
Ghost image storage adapter for Azure Blob Storage
Downloads
2
Readme
Ghost image storage adapter for Azure Blob Storage
Azure Blob Storage adapter for Ghost 0.10+
Installation
Windows
npm install ghostblobstorage --production
mkdir .\content\storage\azure-blob-storage
xcopy .\node_modules\ghostblobstorage .\content\storage\ghostblobstorage /E /Y
Configuration
In your config.js file, you'll need to add a new storage
block to whichever environment you want to change:
storage: {
active: 'ghostblobstorage',
'ghostblobstorage': {
connectionString: 'your storage account connection string',
container: 'your container name', // lowercase, 3-63 characters, only letters, numbers or dashes (-), default is 'ghost'
cdnUrl: 'your CDN endpoint', // optional, e.g. https://az******.vo.msecnd.net
}
}
The following environment variables can be used to provide values for the above settings:
- storage_connectionString or AZURE_STORAGE_CONNECTION_STRING
- storage_container
- storage_cdnUrl
Environment variables take precedence over config.js values and defaults.