Skip to content

tquizzle/ghost-docker

Repository files navigation

Ghost Docker

Table of contents

A simple way to spin up a Ghost site using MySQL as the backend and docker-compose.

All data stays local in directory:

  • mysql for all DB data.
  • content for all Ghost related data.
  • configuration.production.json for specific config manipulation if needed

Docker Image CI

  • Clone the repo.
  • Change the vars in .env
    • ghost_url = Your http(s) address
    • ghost_port = Your port to run Ghost on
    • db_user, db_pass, db_db = Ghost DB connection info (should match the user, pass, db below)
    • mysql_* = mysql information
  • Change the config in configuration.production.json if you wish to customize email on the app.
    • The url will show up in the footer of transactional emails
    • For SMTP mail configuration, refer to this article.
    • If this is what you want, ONLY change the url and the mail config.
docker compose up -d

This section should state any copyright asserted on the project materials as well as the terms of use for the software, files and other materials found in the project repository.

Refer to the license for information specific.

About

A simple way to spin up a Ghost site using MySQL as the backend and docker-compose.

Resources

License

Stars

Watchers

Forks