Latest ghost:5 with Debian on amd64 now has Docker secrets on reraxe/ghost:latest.
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!
database__connection__database, database__connection__user, database__connection__password and mail__options__auth__pass.
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
CLI command on Docker swarm node host manager.
printf "mygmailtokenpassword" | docker secret create mailpass -
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
...
Content type
Image
Digest
sha256:a3ae57b51…
Size
220.7 MB
Last updated
about 1 month ago
docker pull reraxe/ghost