Skip to content

Quick start a blog with Ghost, Mysql, Docker & Docker-Compos running on a Ubuntu Server.

License

Notifications You must be signed in to change notification settings

ngtrieuvi92/mvp-ghost-blog-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MVP Blogging with Ghost, Docker, Docker Compose

Quick start a blog with Ghost, Mysql, Docker & Docker-Compose running on a Ubuntu Server. For more detail and advance config, follow the series of ghost blog development on my blog at https://vinguyen.blog/blog-development-series-setup-mvp-ghost-blog-with-docker

Table of Contents

Overview

ghost-deployment-diagram

Infrastructure

  • Operating System Ubuntu 22.04

  • Docker version 20.10.21

  • Docker-compose version 1.26.0

Technology Stack

  • Ghost blog software version 5.x
  • MySQL database version 8.x

Prerequisite

  • A Ubuntu 22.04 LTS server
  • A domain for your blog
  • Cloudflare account linked with your domain

How to Use this repo

  1. Clone this project into the server's filesystem.
  2. Create new .env file from env-sample, then edit the variable on .env if you want
cp env-sample .env

  1. Run docke-compose within your server 0. docker-compose up -d (you can remove the -d if you want to see logs, then Ctrl+C to stop all containers)
  2. Go to Cloudflare and mapping your domain with server ip
  3. Go to https://YOUR_DOMAIN/ghost to set up your blog.
  4. Once you've made your admin account using that wizard, go back to: https://YOUR_DOMAIN/admin
  5. Log in and enjoy.

License

MIT LICENSE

References

About

Quick start a blog with Ghost, Mysql, Docker & Docker-Compos running on a Ubuntu Server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published