Skip to content

seanghay/ghost-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ghost CMS - Docker Compose

Ghost v4 + MySQL 5.7

Validation

Prerequisites

  1. ghost.env
url=http://localhost:8080
NODE_ENV=production

database__client=mysql
database__connection__host=db
database__connection__user=root
database__connection__password=password
database__connection__database=ghost
  1. db.env
MYSQL_ROOT_PASSWORD=password
MYSQL_DATABASE=ghost
MYSQL_USER=seanghay
MYSQL_PASSWORD=password
  1. Start
docker-compose up -d
  1. Stop
docker-compose down

if you want to remove the volume, use docker-compose down -v


LICENSE

MIT