required Ghost version: 1.x, 2.x
You will need to have a the custom storage module directly in your project directory, the easiest way to do this is:
$ npm install ghost-smms-store
$ mkdir content/storage
$ cp -r node_modules/ghost-smms-store content/storage/ghost-smms-store
$ mkdir -p content/adapters/storage
$ git clone https://github.com/metowolf/ghost-smms-store.git
$ cd ghost-smms-store
$ npm install
FROM ghost:alpine
WORKDIR $GHOST_INSTALL/current
RUN yarn add ghost-smms-store
RUN mv node_modules/ghost-smms-store core/server/adapters/storage
WORKDIR $GHOST_INSTALL
RUN set -ex; \
su-exec node ghost config storage.active ghost-smms-store;
In config.js, add a storage block for each environment.
"storage": {
"active": "ghost-smms-store"
},
ghost-smms-store © metowolf, Released under the MIT License.
Blog @meto · GitHub @metowolf · Twitter @metowolf · Telegram Channel @metooooo