Sign inSign up

reraxe/ghost

By reraxe

•Updated about 1 month ago

Ghost 5 on Debian now has Docker Secrets.

Image
0

10K+

reraxe/ghost repository overview

⁠Ghost Blog - With Docker Secrets Environment (ENV) Support

Latest ghost:5 with Debian on amd64 now has Docker secrets on reraxe/ghost:latest.

⁠Repo maintenance

The image for ghost:5 does not currently support Docker secrets on their environments.

This image will be maintained till docker-library/ghost supports ENV secrets.

Feel free to use. Cheers!

⁠Environments Supported

⁠What are the supported environments?

database__connection__database, database__connection__user, database__connection__password and mail__options__auth__pass.

⁠How to use this image with secrets?

To use image with environment secrets on Docker Compose, use _FILE at the end of the environment.

Example: mail__options__auth__pass --> mail__options__auth__pass_FILE

⁠How do I create a secret?

CLI command on Docker swarm node host manager.

printf "mygmailtokenpassword" | docker secret create mailpass -

⁠Docker Compose Example

version: "3"

services:

    image: reraxe/ghost:latest
    environment:
      - database__connection__database_FILE=/run/secrets/database
      - database__connection__user_FILE=/run/secrets/user
      - database__connection__password_FILE=/run/secrets/password
      - mail__options__auth__pass_FILE=/run/secrets/mailpass
    secrets:
      - database
      - user
      - password
      - mailpass
...

Tag summary

Content type

Image

Digest

sha256:a3ae57b51…

Size

220.7 MB

Last updated

about 1 month ago

docker pull reraxe/ghost