Sign inSign up

geekbeacon/gb-ghost

By geekbeacon

•Updated 3 days ago

GeekBeacon custom ghost image

Image
0

5.0K

geekbeacon/gb-ghost repository overview

Source Code⁠

⁠Ghost GeekBeacon image

This is going to be used as a base for much of our docker deployment.

The official docker image is a bit too limited and needed something that added a few more plugins for our use:

Additional Plugins:

⁠GCS configuration

Additional configuration added for GCS is:

## GCS 
storage__active=gcs
storage__gcs__bucket=gb-dev-testing
storage__gcs__host=storage.googleapis.com
storage__gcs__protocol=https
storage__gcs__hash=true
storage__gcs__hashAlgorithm=sha512
storage__gcs__hashLength=16

GOOGLE_APPLICATION_CREDENTIALS=/var/lib/ghost/keys/service.json

You'll need to add a service account with write support to the requested bucket. The bucket also needs to be public in order to serve traffic.

By convention all the GCE keys are stored in the keys folder and then mounted as a volume to /var/lib/ghost/keys/

⁠S3 configuration

Additional configuration for S3:

storage__active=s3
storage__s3__accessKeyId=<AWS Key>
storage__s3__secretAccessKey=<AWS Secret>
storage__s3__region=us-west-1
storage__s3__bucket=bucketName

Please see the plugin github for more details which can be found here⁠

⁠DEVELOPMENT

symlink development.yml and enable email interception by enabling the following properties:

ln -s development.yml docker-compose.yml

⁠Update environment
## DEVEL ONLY
## MailHog Settings TESTING ONLY
mail__transport=SMTP
mail__options__port=1025
mail__options__host=mail

local email can be seen at: http://localhost:8025/#⁠

Tag summary

Content type

Image

Digest

sha256:146f89820…

Size

325.8 MB

Last updated

4 months ago

docker pull geekbeacon/gb-ghost