Skip to content

Ghost Docker Documentation

Introduction

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.

Docker Image CI

Installation

  • Clone the repo.
  • git clone https://github.com/tquizzle/ghost-docker.git
  • Rename the .env.sample to .env and change the vars
  • ghost_url = Your http(s) address
  • ghost_port = Your port to run Ghost on
  • db_user= Ghost DB user
  • db_pass = Ghost DB password
  • db_db = Ghost DB name
  • mysql_root_pass = mysql root password
  • mail_transport = SMTP mail transport method (e.g. SMTP)
  • smtp_host = SMTP mail host
  • smtp_port= SMTP mail port
  • smtp_from= SMTP mail from address
  • smtp_user= SMTP mail user configuration,
  • smtp_password = SMTP mail password

Usage

docker compose up -d

License

This project is licensed under the Apache License 2.0. Refer to the license for information specific.

tianji