
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
ghost-digitalocean
Advanced tools
A Digital Ocean storage adapter for Ghost 1.x
cd
into the directory of your ghost installation and install the ghost digitalocean package by using the following command.
npm install ghost-digitalocean
Note: Check if content/adapters/storage
path exists, if not, execute the following command:
mkdir -p ./content/adapters/storage
Note: Copy the module from node_modules
by using the following command:
cp -r ./node_modules/ghost-digitalocean ./content/adapters/storage/digitalocean
You can configure the module using either one of the following options:
You need to include the configuration settings in your config.development.json
or config.production.json
file:
"storage": {
"active" : "digitalocean",
"digitalocean" : {
"key": "YOUR_DIGITALOCEAN_SPACES_KEY",
"secret" : "YOUR_DIGITALOCEAN_SPACES_SECRET",
"region" : "YOUR_DIGITALOCEAN_SPACES_REGION",
"bucket": "YOUR_DIGITALOCEAN_SPACES_BUCKET",
"spaceUrl": "YOUR_DIGITALOCEAN_SPACES_URL",
"subFolder": "OPTIONAL_SUB_FOLDER_NAME",
"endpoint" : "${REGION}.digitaloceanspaces.com"
}
}
where ${REGION}
is the region that you have been allotted / selected for the digitalocean space.
Note: Be sure to include "//"
or the appropriate protocol within your spaceUrl string/variable to ensure that your site's domain is not prepended to the SPACE URL.
For information on digitalocean spaces and how to generate them, please visit : https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces
You can also configure the module using environment variables:
GHOST_DO_KEY
GHOST_DO_SECRET
GHOST_DO_REGION
GHOST_DO_BUCKET
GHOST_DO_SPACE_URL // optional
GHOST_DO_SUBFOLDER // optional
GHOST_DO_ENDPOINT // optional
FAQs
A DigitalOcean Storage adapter for Ghost 0.10+
We found that ghost-digitalocean demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.