Ghost IPFS Storage Adapter
Learn how to configure Ghost IPFS Storage Adapter for use with Filebase.
Last updated
Was this helpful?
Learn how to configure Ghost IPFS Storage Adapter for use with Filebase.
Last updated
Was this helpful?
Ghost is an open-source, headless CMS tool that can be used to host websites and blogs. The IPFS storage adapter can be configured to pin Ghost’s files and content to IPFS.
Read below to learn how to use Ghost IPFS Storage Adapter with Filebase.
ghost-ipfs
adapter package using NPM or Yarn:npm install ghost-ipfs --save
or
yarn add ghost-ipfs
mkdir -p content/adapters/storage
ghost-ipfs
adapter into the storage folder:mv node_modules/ghost-ipfs content/adapters/storage/ghost-ipfs
git clone content/adapters/storage/ghost-ipfs
./config.production.json
file. Insert the following code to configure your connection to Filebase:Replace the following values:
FILEBASE_KEY: Your Filebase Access Key
FILEBASE_SECRET: Your Filebase Secret Key
FILEBASE_BUCKET: Your Filebase Bucket Name
You can alternatively save these values as environment variables and reference them accordingly if you plan to back up your Ghost instance to a public storage solution like GitHub.
You can also install this adapter if you are using a Docker containerized version of Ghost. Check out the for the IPFS adapter for more information.