Skip to content

A docker-ized version of Ghost which makes it possible to more easily configure various Ghost variables for Docker deployments.

Notifications You must be signed in to change notification settings

SierraSoftworks/docker-ghost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ghost

Dockerized Ghost container supporting environment variable configurations

This container includes a custom config file which will automatically retrieve its values from the environment variables you provide to this container.

Environment variables are expanded into a tree structure and merged with the default configuration file.

Example Expansion

GHOST_PRODUCTION_MAIL_TRANSPORT="smtp"
GHOST_PRODUCTION_MAIL_OPTIONS_SERVICE="mailgun"
GHOST_PRODUCTION_MAIL_OPTIONS_AUTH_USER=""
GHOST_PRODUCTION_MAIL_OPTIONS_AUTH_PASS=""
envConfig = {
    production: {
        mail: {
            transport: "smtp",
            options: {
                service: "Mailgun",
                auth: {
                    user: "",
                    pass: ""
                }
            }
        }
    }
}

Case Sensitive Names

Some components of the Ghost config are case sensitive, such as the contentPath property. These can be specified in non-uppercase form and they'll be left as is.

GHOST_PRODUCTION_PATHS_contentPath="/var/lib/ghost"

About

A docker-ized version of Ghost which makes it possible to more easily configure various Ghost variables for Docker deployments.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published